Manuscripts did not sit behind glass in medieval Morocco — they circulated through a network of madrasas, mosque libraries, and zawiya lodges that functioned as the internet of their day. Students would travel from the Sahara to Fes to copy texts by hand, then carry them south again. The madrasa system provided cheap lodging, communal learning, and access to the librarian-scholars who held the keys to the stacks.
Ben Youssef Madrasa in Marrakech is the most visually arresting survivor of this system. At its peak it housed 900 students in tiny cells off a central courtyard. Walk through the arcade today — entrance runs around 70 MAD (indicative) — and you can trace the carved stucco quotations from Quranic verses, the cedar ceilings hand-carved with geometric arabesques, and the turquoise zellige footings that announce this as a place of serious learning, not just prayer.
In Fes, the Bou Inania Madrasa (one of the few still-active mosques whose interiors non-Muslim visitors can enter — confirm access locally, as policies change) dates from the 14th century and gives the clearest sense of what a medieval Islamic library-school felt like in daily use. The mezzanine galleries where students once crouched over manuscripts by candlelight are still there.