Ayyubid Urban Institutions: Schools, Hospitals and Religious Patronage
Under Ayyubid rule in Egypt and Syria, from 1171 through the mid-thirteenth century, schools, hospitals and religious foundations helped organise urban learning and care. Rulers and members of their families commissioned buildings, appointed staff and assigned income to support their continuing work. These institutions drew on practices already established in the wider Islamic world, but their arrangements varied between cities and foundations.
A key means of support was the waqf, an endowment in which property was dedicated to specified beneficiaries or purposes. The property itself was kept inalienable, while its income could be directed to a school, hospital or other foundation. A founder could set out terms for the property’s management and the services it was intended to sustain. Two Ayyubid foundations, the Salihiyya Madrasa in Cairo and al-Firdaws in Aleppo, show how this arrangement connected patronage to institutional life.
On this page5 sections
Endowments made patronage durable
An endowed building required continuing income for salaries, supplies and repairs. A waqf assigned revenue-producing property to these purposes, with an administrator responsible for its management. The arrangement could outlast the founder, connecting land, shops or other assets with daily teaching and service rather than relying entirely on occasional gifts.
A patron’s terms could specify beneficiaries and duties, turning a general charitable intention into assigned work. Teachers needed support, residents needed provisions, and rooms and fittings required upkeep. Institutional income therefore had to be collected and spent repeatedly. The endowment joined a legal framework to the practical costs of maintaining a building and its community.
Madrasas supported learning and religious communities
A madrasa was an institution for formal Islamic learning, particularly the study of religious law. Its organisation could shape which scholars and legal traditions received institutional support. Founded by Sultan al-Salih Ayyub in Cairo in 1242, the Salihiyya was the city’s first madrasa to teach all four Sunni legal schools, or madhhabs: Shafi‘i, Maliki, Hanafi and Hanbali. Its northern wing served Shafi‘i and Maliki teaching, while its southern wing served Hanafi and Hanbali teaching.
The Salihiyya’s two wings contained teaching halls and student accommodation, with a public passageway running between them. The halls, known as iwans, were open vaulted spaces used for teaching. Their placement alongside living quarters made the madrasa a working institution as well as a substantial building. After al-Salih Ayyub’s death in 1249, his widow Shajar al-Durr had a mausoleum added beside the madrasa. The tomb was therefore a later addition, not part of the school’s original foundation. The Salihiyya remained a prominent learning centre into the Mamluk period, beyond the main Ayyubid frame.
Al-Firdaws was founded in Aleppo by Dayfa Khatun in 1235–1236, shortly before she became regent for her grandson. Teaching, Quran recitation and Sufi devotion, associated with Islamic mystical practice, occupied a complex with a courtyard, prayer hall and commemorative spaces. Its polychrome marble mihrab marked the direction of prayer. Patronage gave religious activities a substantial architectural setting and connected the dynasty’s memory with continuing worship.
Hospitals combined medical work and teaching
A bimaristan was a hospital. Damascus’s al-Nuri Hospital was founded by Nur al-Din in 1154, before Ayyubid rule, and continued in use under the new dynasty. Its courtyard and surrounding halls accommodated medical work, while an eastern hall supported teaching and access to medical texts. Ayyubid physicians worked within this inherited urban institution.
Al-Dakhwar began as an eye physician at al-Nuri and developed a wider career in medicine and Ayyubid service. His pupil Ibn Abi Usaybia described a demanding routine: he visited hospital patients, attended ill court officials and then returned home to teach groups of students at different levels. At night he continued reading. Hospital, court and household thus provided distinct settings for one physician’s work.
Medical instruction also acquired its own endowment. Al-Dakhwar dedicated his house as a medical school and assigned properties to sustain it. Teaching could therefore continue beyond the founder’s personal household. His career shows how clinical visits, book learning and endowed space combined, with students moving through levels of instruction rather than simply attending an occasional public lecture.
Buildings expressed different forms of patronage
The Salihiyya and al-Firdaws demonstrate how patrons shaped institutions through both funding and design. Al-Salih Ayyub established a school organised to serve several Sunni legal traditions in Cairo. Dayfa Khatun endowed a complex in Aleppo that brought religious learning and personnel together with worship and a family mausoleum. Their foundations also show that urban patronage was not confined to reigning sultans: Dayfa Khatun, an Ayyubid woman who later served as Aleppo’s regent, directed resources to al-Firdaws.
Architecture made these purposes tangible. At al-Firdaws, the prayer hall contained a decorated mihrab, a niche indicating the direction of prayer, faced with a polychrome marble mosaic. Inscriptions on the building included Qur’anic passages and poetic, mystical themes. At the Salihiyya, paired wings, teaching halls and student quarters arranged space around the school’s educational divisions. These features show how buildings accommodated institutional functions, while the endowments provided a means of sustaining them.
A varied institutional landscape
Cairo’s Salihiyya divided teaching among four Sunni legal traditions; Aleppo’s al-Firdaws accommodated learning, recitation and devotion; Damascus’s al-Nuri continued an older medical establishment. Endowments and appointments supported different communities within each city. Their everyday operation depended on people carrying out assigned tasks as well as on the patrons who commissioned the buildings.
For the wider setting, see The Ayyubids: History, Government and Society in Egypt and Syria.