c. 859
The Qarawiyyin mosque is founded at Fez
Most sources date the Qarawiyyin mosque to 857-859 and credit Fatima al-Fihri; an inscription naming Dawud ibn Idris says 877, and some doubt Fatima. Clear evidence of teaching dates from 1121. It is called the oldest university, though scholars call it a madrasa.