Read the story
Before you step inside, look up. Above the bronze-plated doors, a cedar lintel carries an Arabic inscription set on arabesques. It says this building was raised for the sciences and for prayer by the Commander of the Faithful, and asks everyone who passes beneath it to pray for the sultan who built it.
That sultan was Abdallah al-Ghalib, of the Saadian dynasty. An earlier college is thought to have stood here, founded by the Marinid sultan Abu al-Hasan, beside the mosque that the Almoravid ruler Ali ibn Yusuf built as the great mosque of Marrakech. The college took its name from that mosque: Ben Youssef.
Al-Ghalib rebuilt it grandly, and made sure no one would forget when. In the courtyard, carved in ceramic, the date is spelled out as a little piece of verse, counting nine hundred years, then seventy, then two. That is the Islamic year 972, or 1564 to 65.
What he built became, at its height, the largest Islamic college in the Maghreb. The showpiece is the courtyard, with its reflecting pool, carved stucco and cedar, and walls of zellij tile. But the real life happened out of sight. Around six tiny courtyards, three on each side, open roughly 130 small rooms. These were the student cells, home to young men who came from beyond Marrakech to study. By some accounts, the building could hold as many as 800 of them.
For four centuries, it did its job. The school finally closed in 1960. It reopened as a monument in 1982, shut again for restoration in 2018, and in April 2022 opened its doors once more, now with a marble basin carved a thousand years ago at Madinat al-Zahra, near Cรณrdoba, standing in its prayer hall.
The students are gone. But the lintel is still making its request. The sultan asked for visitors' prayers. Four and a half centuries later, he is still getting the visitors.