The Bibliothèque Nationale du Royaume du Maroc (previously Bibliothèque Générale and Bibliothèque Générale et Archives) is located in Rabat, Morocco with a branch in Tetouan. It was created in 1924.
More information on the Wikipedia page [1]
The website, in French and Arabic, is [2]