Born of Hashemite ancestry[2] in Şereflikoçhisar in Central Anatolia, Aziz Mahmud Hudayi completed his studies in a medrese in Istanbul. He became the Sheikh of SultanAhmed I who constructed the famous Blue Mosque and so read the first Friday prayer there on its opening. He was also especially respected by Sultan Murad III. He is a descendant of Junayd of Baghdad, and, as a descendant of Husayn ibn 'Ali, can be called a sayyid.
His supplication prompted many sailors of the Ottoman Navy to visit his grave before going out to sea:
Those who visit us when we are alive, and those who visit our grave after our death and read the Fatiha when passing by our tomb are ours. May those who love us not drown at sea, may they not suffer poverty in their old age, and may they not pass away without saving their faith.[3]
He died in Üsküdar, Istanbul and was buried on a site which is now enclosed within a mosque complex that remains a site of pilgrimage and devotion.[4] By 1855 it was in ruins but was restored and expanded by Sultan Abdülmecid I.[4]
The small stone house in which he lived is a few miles away from the complex. The 19th-century Üsküdar-born artist Hoca Ali Riza painted a watercolour of the house standing alone in what was then countryside. A foundation named after him now maintains the house which has become the Çilehane Mescid overlooked by the large new Çilehane Cami. [5]