Sufi philosophy includes the schools of thought unique to Sufism, a mystical branch within Islam, also termed as Tasawwuf or Faqr according to its adherents. Sufism and its philosophical traditions may be associated with both Sunni Islam and Shia Islam. It has been suggested that Sufi thought emerged from the Middle East in the eighth century, but adherents are now found around the world. According to Sufism, it is a part of the Islamic teaching that deals with the purification of inner self and is the way which removes all the veils between divine and man. It was around 1000 CE that early Sufi literature, in the form of manuals, treatises, discourses and poetry, became the source of Sufi thinking and meditations. Sufi philosophy, like all other major philosophical traditions, has several sub-branches including metaphysics and cosmology as well as several unique concepts.
The emergence of Sufi thought is commonly linked to the historical developments of the Middle East in the seventh and eighth centuries following the life of Prophet Mohammad,and its development took place throughout the centuries after that. Between the tenth and twelfth centuries, Sufism became a widely spread discipline. One influential early writer on Sufi philosophy was Al-Ghazali (1058–1111). He discussed the concept of the self and the causes of its misery and happiness. By the end of the thirteenth century, Sufism had become a well-defined science of spiritual awakening throughout the Islamic World, an "Islamic Golden Age" .No important domain in the civilization of Islam remained unaffected by Sufism in this period. Several tariqahs (Sufi orders) were found. Also a class of notable Sufi philosophers, theologians and jurists such as Hankari, Ibn Arabi, Abu Saeed Mubarak Makhzoomi, led this age who trained and generated historical specimens of philosophers and geniuses now read worldwide such as Al-Ghazali, Avicenna, etc. An important mark made in the history of Sufi philosophy has been made by Abdul Qadir Jilani with his jurisprudence and philosophy of Sufism that made him define the Sufi orders. Jilani's adopted order was Qadiriyya and the offshoot he started later became known as Sarwari Qadiri. Several other orders were also founded in this era. Sufis were influential in spreading Islam particularly to the furthest outposts of the Muslim world in Africa, India and the far East.