Imam Ghazzali was derailed from Islam and was confused and joined derailed path of Sufism.
Al-Ghazzaali was Muhammad ibn Muhammad ibn Muhammad ibn Ahmad al-Toosi, who was known as al-Ghazzaali. He was born in Toos in 450 AH. His father used to spin wool and sell it in his shop in Toos. The life of al-Ghazzaali needs to be discussed at length because he went through a number of stages. He indulged in philosophy, then he recanted and rejected that. After that he indulged in what is known as ‘ilm al-kalaam (Islamic philosophy) and gained a sound grasp of its basic principles; then he rejected that after it became clear to him that it was corrupt and filled with contradictions. He was focusing on ‘ilm al-kalaam during the period when he refuted philosophy, and at that time he was given the title of Hujjat al-Islam, after he had refuted the arguments of the philosophers. Then he recanted ‘ilm al-kalaam and turned away from it. He followed the path of the Baatiniyyah (esotericists) and learned their knowledge, but then he rejected that and showed the beliefs of the Baa...