Origins The Khalwati has two lineages, but it is safe to say that it goes back to
Ali,
Hasan and
Husayn, most likely via the
Basran or
Baghdadi tradition, out of which the
Khorasani Khwajagan generation eventually emerged, the most famous of which being
Yusuf Hamadani,
Abu al-Hassan al-Kharaqani and
Abu Ali Farmadi, from which the students of
Ahmad Yasawi taught
Zahed Gilani, who then ultimately went on to be the teacher of Muhammad-Nur al-Khalwati and Umar al-Khalwati; the Khwajagan also often connected to
Bayazid Bastami, whom the Khalwati have special reverence for. Umar- Khalwati was considered a cryptic and mysterious man who was not very well known and did very little to spread the ordm:ner.
Shaykh Yahya Shirvani is considered "the second pir" and was himself the primary person responsible for the spread of the Khalwati order. Also during this period, the order sought to reassert its
Sunni identity, by disassociating itself with the
Shi’i enemy. With the reign of
Sulayman the Magnificent and
Selim II the order entered a revival. They had links with many high-ranking officials in the Ottoman administration and received substantial donations in cash and property, which helped to recruit more members.
The influences of Niyazi al-Misri By this time, members of the Khalwati order broke ties with the common people, who they previously aligned themselves so closely. They attempted to rid the order of folk Islam to a more orthodox order.
Revival of the Khalwati Most scholars believe that the Khalwati themselves went through a major revival during the 18th century when Mustafa ibn Kamal ad-Din al-Bakri (1688–1748) was in charge. Al-Bakri was considered a great shaykh who wrote many books, invented Sufi techniques, and was very charismatic. Jong argues that al-Bakri's influence was limited to adding a prayer litany to the Khalwati rituals. He made his disciples read this litany before sunrise and called it the Wird al-sahar. Al-Bakri wrote this prayer litany himself and thought it necessary to add it to the practices of the Khalwati order. Jong argues al-Bakri should not be attributed with the revival of the Sufi order for his limited effect. After the influence of al-Bakri faded, the Khalwati order began gradually splitting into popular break-off branches, which were led by figures such as
Ismail Haqqi Bursevi,
Aziz Mahmud Hudayi,
Mustafa Gaibi,
Mustafa Devati,
Osman Fazli and
Shaban Veli, whom are nonetheless still highly esteemed and venerated by mainstream Khalwati followers. == 19th-century political influence ==