It was built in the 14th century by the Marinid sultan Abu al-Hasan next to the Grand Mosque of Salé and it is notable for its rich decoration.
[4] The madrasa was built to help further develop the nearby Great Mosque of Salé as the focus of religious and intellectual life in the city.
[2] The spaces between the gallery columns and the outer wall of the courtyard are covered by painted wood ceilings carved into geometric star patterns.
Possibly even more than other Marinid madrasas, this building shows similarities with Nasrid art and architecture such as the palaces of the Alhambra), attesting to the shared artistic vocabulary between the two regions.
[3] A rectangular marble panel carved with a foundation inscription of the building was originally set into the northwestern wall of the courtyard (opposite the mihrab and the prayer room).