A recently found waqf deed with a list of books documents the contents of a part of Muḥammad b. ʿAbd al-Salām Bannānī’s library. This Moroccan scholar from Fez, who died in 1163 ah/1750 ce, wrote and collected books; he established a zāwiya close to the Qarawiyyin mosque where his collection of manuscripts was kept. The deed is published in this paper. It is the starting point of a research into Muḥammad Bannānī’s library: with the documentation at hand, it is possible to identify eighty-three titles that once belonged to him, but also to study the strategies of a Moroccan scholar in the eleventh ah/eighteenth ce century to collect books and to organize the survival of his library for his children. An effort to defend the prestige of the family is also apparent since the collection helped to preserve the successive contributions of various generations of scholars related by kin.