The madrasa is named after the adjacent Ben Youssef Mosque, which was originally the main mosque of the city, founded by the Almoravid Sultan Ali ibn Yusuf The first madrasa on this site was founded during the Marinid Islamic dynasty by Sultan Abu al-Hasan. This dynasty, known for its perpetuation of the arts and literature, ruled from 1196 to 1465 AD and was responsible for constructing many madrasas across Morocco. The current building, however, was constructed by the Saadian Sultan Abdallah al-Ghalib, a major builder of his period, and completed in 1564-65 AD. Historically, madrasas have served as a center for learning, worship and community interaction. In addition to teaching Quranic Tasfeer and Islamic jurisprudence, Islamic schools often taught a wide variety of subjects, including literature, science and history. The Ben Youssef Madrasa, in fulfilling these functions, was also one of the largest theological colleges in North Africa, reportedly able to accommodate upwards of 800 students. Closed down in 1960, the building was refurbished and reopened to the public as a historical site in 1982. The Ben Youssef Madrasa currently attracts thousands of tourists every year and remains one of the most important historical buildings in Marrakesh.
Architecture
Layout
The madrasa's floor plan occupies a nearly square space measuring approximately 40 by 43 meters. The building is entered from a single street entrance, from which a narrow corridor leads to a vestibule chamber, which in turn gives access to the central courtyard. This process of entry, like in many Islamic buildings, is carefully designed to inspire revelation and astonishment in an unexpected opening of space into the main courtyard. The layout of the building centers around the main courtyard, which is surrounded by east and westgalleries and student dormitories on the upper and lower levels. Like many Islamic buildings, the courtyard is itself centered around a large shallow reflective pool, measuring approximately 3 by 7 meters. At the southeastern end of the courtyard is another large chamber which served as a prayer hall, equipped with a mihrab featuring especially rich stucco decoration. As in classic Marinid madrasas constructed during the century, the layout of the Ben Youssef madrasa contains student dormitory cells clustered around the first and second levels of the central courtyard. After its reconstruction in 1565, the layout of the madrasa was revised and the dormitories are now accessed via a series of smaller secondary courtyards outside the perimeter of the main courtyard. Together, the madrasa consisted of 130 student rooms and housed up to 800 students; making it the largest madrasa in Morocco.
Ornamentation
The ornamentation of the Ben Youssef Madrasa derives closely from that of earlier Moroccan and Andalusian architecture, which makes use of pools, gardens, fountains, and surfaces covered in zellij and intricately carved stucco and wood. The main central courtyard of the madrasa communicates a strong visual experience for visitors and students via these embellishing elements and their symmetrical arrangement. This courtyard is entered from the vestibule via a wooden screen under a monumental archway which is itself decorated with carved stucco. Although the student cells that surround the courtyard have little to no interior decorative elements, the small secondary courtyards that grant access to them do bear some stucco and wooden decoration. The street entrance of the madrasa is overlooked by an elaborate muqarnas cupola in front of the doorway. The doors of the madrasa are plated with bronze forming an interlacing geometric pattern and enhanced with shallow carved arabesque motifs. The cedar wood lintel above the doors is carved with an Arabic inscription on an arabesque background. The inscription names and praises Sultan Abdallah as the builder of the madrasa. Numerous other inscriptions are also found throughout the building on various surfaces, often consisting ofQur'anic verses. The large Kufic inscription around the arch of the mihrab, for example, includes the basmala and the tasliyya followed by verse 36 and the beginning of verse 37 from the Surah an-Nur.