One of them was at the Great Mosque, and the other was at Badawa. The libraries were full of references, valuable and rare manuscripts and printed materials. The libraries contained books on language, science, grammar, morphology, rhetoric, Tafsir (Commentary on the Quran), Hadith (Traditions of the Prophet), linguistics, doctrine, logic, literature.[1]