The small domed sanctuary located on Souk Tawile is the only remaining late Mamluk monument still standing in the city today. Originally described by 16th-century historian Ibn Tulun as a Mamluk house and ribat, or hospice, the sanctuary was built by the religious authority and Sufi Ibn 'Iraq al-Dimashqi for his followers.
The building continued to serve as a private madrasa or zawiya, where Islamic law, jurisprudence, and theology were taught. A zawiya was often the converted house of the teacher or founder.