François D érocHe et Lbachir t aHali . Du bon usage des livres : Aḥmad al-Manṣūr, mécène de la bibliothèque Qarawiyyīn La Grande mosquée de Fès, ancien centre d’enseignement et de savoir, possède une bibliothèque dont les origines remontent au règne du sultan mérinide Abū ʿInān Fāris (r. 1348-1359) qui fit édifier un bâtiment à cet effet et y déposa des livres en bien de mainmorte (waqf , ḥabs ). À la fin du xvi e siècle, le souverain saadien Aḥmad al-Manṣūr (r. 1578-1603) qui avait reçu le surnom de « sultan des savants » en raison de son goût pour le savoir fonda à son tour une bibliothèque, attenante à cette même mosquée, qui a subsisté jusqu’à nos jours. Comme l’avait fait son prédécesseur, il fit inscrire sur les livres dont il la dota les actes (taḥbīs ) qui enregis-traient individuellement chaque don. L’étude de ces textes et d’un document inédit qui fait l’inventaire d’une section des manuscrits remis par Aḥmad al-Manṣūr permet de reconstituer partiellement les contenus de la bibliothèque et ses orientations. Elle donne aussi des éléments nouveaux pour élucider d’une part la date de la fondation saadienne et éclairer, de l’autre, les motifs qui conduisirent le sultan, près de la fin de son long règne, à se lancer dans cette entreprise. The Great Mosque of Fez, an ancient centre of learning and knowledge, has a library whose origins date back to the reign of the Merinid sultan Abū ʿInān Fāris (r. 1348-1359), who had a building erected for this purpose and deposited books in it as a religious endowment (waqf , ḥabs ). At the end of the 16th century, the Saadian ruler Aḥmad al-Manṣūr (r. 1578-1603), who had been given the nickname “Sultan of Scholars” because of his taste for knowledge, in turn founded a library, next to the same mosque, which has survived to the present day. As his predecessor had done, he had the deeds (taḥbīs ) that individually recorded each donation inscribed on the books with which he endowed it. The study of these texts and of an unpublished document that inventories a section of the manuscripts endowed by Aḥmad al-Manṣūr allows us to partially reconstruct the contents of the library and its orientations. It also provides new elements to elucidate, on the one hand, the date of the Saadian foundation and, on the other, the motives that led the sultan, near the end of his long reign, to embark on this enterprise.