Read the story
The story goes that when the bill arrived, the sultan refused to read it. Abu Inan Faris tore up the accounts book, threw it in the river, and declared that what is beautiful is not expensive, no matter how large the sum.
It's a legend, but it fits the man. Abu Inan was a Marinid prince who had rebelled against his own father, Sultan Abu al-Hasan, and declared himself sultan in 1348. Another tale says that, stung by guilt, he was told by scholars to turn a garbage dump in the upper city into a place of learning, cleansing the city and his conscience together. The surer motive was politics: madrasas won the Marinids the loyalty of the religious elite of Fes.
Work began in December 1350 and was finished by 1355. The result was the largest and most important Marinid madrasa, and the only one raised to the rank of a Friday mosque. That is why it has what almost no other Moroccan madrasa has: a minaret, wrapped in tile.
Step in from Talaa Kebira and the walls climb in layers. Zellige mosaic at the bottom. Above it, carved stucco, thick with arabesques and calligraphy. Higher still, cedar carved like lace. A small canal, fed by a branch of the river, runs along the marble courtyard, and two little bridges cross it to the prayer hall, which non-Muslims may look into but not enter.
Now turn around. Across the street is Dar al-Magana, a water clock finished in 1357 to serve the madrasa. Each hour, a door opened and a metal ball dropped into a bowl beneath one of its twelve windows. In 2004, experts working with ADER-Fes took the bowls down to rebuild the mechanism. No one has made it work again.
Abu Inan was murdered by his own vizier in 1358, at thirty-one. His madrasa outlived his dynasty. His clock still keeps its secret.