Absorption in God, therefore, or union with Him is the goal of all the Sufi teachings and practices. The entire negation of self clears the way for the apprehension of the Truth. This journey towards God has its stages which are generally given as eight in number: service, love, abstraction, knowledge, ecstasy, truth, union, extinction. Some of the Sufis went so far as to set aside external religion, and showed an utter indifference to the ritual as well as to the moral law. Al-Ghazali was not of their number. He teaches, however, that the ordinary theologian cannot enter on the mystic path, for he is still in bondage to dogma and wanders about in darkness. Prayer, fasting, pilgrimage in all their requirements and the details of their observations have, therefore, a twofold significance; the outward and formal one which is understood by the common people, and the spiritual, real, esoteric significance which is only grasped by those who give themselves entirely to God.

Al-Ghazali was thoroughly aware of the dangers of Sufism both in its creed by way of becoming pantheistic, and in its antinomian practices. He saw that divorce between religion and morals would be disastrous and must therefore have been shocked by such verses as those of Omar Khayyam:

“Khayyam! why weep you that your life is bad;

What boots it thus to mourn? Rather be glad.

He that sins not can make no claim to mercy;

Mercy was made for sinners—be not sad.”

His teaching regarding sin and repentance was, as we shall see later, altogether more fundamental.

From the earliest times pantheistic Sufism found a home in Khorasan among the Moslems. The old idea of incarnation emerged when the Shiah sect separated itself and paid such high veneration to Ali. The sect of the Khattahiyah worshipped the Imam Jafar Sadik as God. Others believed that the divine spirit had descended upon Abdallah Ibn Amr. In Khorasan the opinion was widely spread that Abu Muslim, the great general who overturned the dynasty of the Ommeyads and set up that of the Abbassides, was an incarnation of the spirit of God. In the same province under Al Mansur, the second Abbasside Caliph, a religious leader named Ostasys professed to be an emanation of the Godhead. He collected thousands of followers, and the movement was not suppressed without much fighting. Under the Caliph Mahdi a self-styled Avatar named Ata arose, who on account of a golden mask which he continually wore was called Mokanna, or “the veiled prophet.” He also had a numerous following, and held the Caliph’s armies in check for several years, till in A. D. 779, being closely invested in his castle, he, with his whole harem and servants, put an end to themselves.

What Al-Ghazali himself thought of these speculations of the Sufis and the danger of this kind of mysticism we learn from his book: “The speculations of the Sufis may be divided into two classes: to the first category belong all the phases about love to God and union with Him, which according to them compensate for all outward works. Many of them allege that they have attained to complete oneness with God; that for them the veil has been lifted; that they have not only seen the Most High with their eyes, but have spoken with Him, and so far as to say ‘The Most High spoke thus and thus.’ They wish to imitate Hallaj, who was crucified for using such expressions, and justify themselves by quoting his saying, ‘I am the Truth.’ They also refer to Abu Yazid Bistami, who is reported to have exclaimed, ‘Praise be to me!’ instead of ‘Praise be to God!’ This kind of speculation is extremely dangerous for the common people, and it is notorious that a number of craftsmen have left their occupation to make similar assertions. Such speeches are highly popular, as they hold out to men the prospect of laying aside active work with the idea of purging the soul through mystical ecstasies and transports. The common people are not slow to claim similar rights for themselves and to catch up wild and whirling expressions. As regards the second class of Sufi speculation, it consists in the use of unintelligible phrases which by their outward apparent meaning and boldness attract attention, but which on closer inspection prove to be devoid of any real sense.”

Not only did Al-Ghazali realize the danger on the side of pantheism, but he was aware that such religious enthusiasm often led to gross hypocrisy. In his Ihya he mentions “that the prophet commanded that whoever did not feel moved to tears at the recitation of the Koran should pretend to weep and to be deeply moved”; for, adds Al-Ghazali sagely, “in these matters one begins by forcing oneself to do what afterwards comes spontaneously.” Moreover, the fact that religious excitement was looked upon as the mark of a fervent mind and devout intensity, vastly increased the number of those who claimed mystic illumination. He divides the ecstatic conditions which the hearing of poetical recitations produces into four classes. The first, which is the lowest, is that of the simple sensuous delight in melody. The second class is that of pleasure in the melody and of understanding the words in their apparent sense. The third class consists of those who apply the meaning of the words to the relations between man and God. To this class belongs the would-be initiate into Sufism. He goes on to say, “He has necessarily a goal marked out for him to aim at, and this goal is the knowledge of God, meeting Him and union with Him by the way of secret contemplation, and the removal of the veil which conceals Him. In order to compass this aim the Sufi has a special path to follow; he must perform various ascetic practices and overcome certain spiritual obstacles in doing so. Now when, during the recitation of poetry, the Sufi hears mention made of blame or praise, of acceptance or refusal, of union with the Beloved or separation from Him, of lament over a departed joy or longing for a look, as often occurs in Arabic poetry, one or the other of these accords with his spiritual state and acts upon him like a spark on tinder, to set his heart aflame. Longing and love overpower him and unfold to him manifold vistas of spiritual experience.