The Qarawiyyin mosque at Fez, credited to Fatima al-Fihri
جامع القرويين بفاس المنسوب إلى فاطمة الفهرية
245 AH · c. 859 CE This year in the atlas
Tradition says that in 245 AH (859) Fatima al-Fihri, of a family from Kairouan settled at Fez, founded the Qarawiyyin mosque, probably with leave from the Idrisid amir Yahya. It grew over centuries into a great teaching centre of the Maghrib. Modern historians dispute her part and the date.
Details
Following the tradition, the Encyclopaedia of Islam says the first building stood on the left bank of the Wadi Fas and went up in 245 AH (859) through a pious woman, Fatima bint Muhammad al-Fihri, who came from Kairouan to Fez with her family; she very probably had leave to build from the amir Yahya, a grandson of Idris II. Her sister Maryam is credited in the tradition with the Andalusians' mosque on the other bank. The first prayer hall measured about 46.6 by 17.2 metres inside, with four bays. In 307 AH (919) it became the Friday mosque of the Kairouan quarter, and in 345 AH (956) it was enlarged as Fez grew, with money that the Umayyad caliph of Cordoba, 'Abd al-Rahman al-Nasir, sent to the Zanata amir Ahmad ibn Abi Sa'id. The Almoravids and Marinids added to it, the Marinids built their madrasas around it, and a library stood in an annex.
Significance
The mosque of the Kairouan quarter became the Qarawiyyin, whose teachers and library made Fez a centre of learning for the Maghrib. Fatima's name, honoured in Fez since at least the fourteenth century, is the best known claim of a woman founding a great Muslim institution.
In numbers
First prayer hallabout 46.6 m by 17.2 m
Who was there — and how old
The arena: where the reports differ
Who founded the Qarawiyyin and when
Fatima al-Fihri founded it in 245 AH (859), and her sister Maryam founded the Andalusians' mosque. The tradition is fixed in Ibn Abi Zar' and al-Jaznai in the fourteenth century, and the Encyclopaedia follows it.Ibn Abi Zar', Rawd al-Qirtas; al-Jaznai, Zahrat al-As; Encyclopaedia of Islam, art. al-Ḳarawiyyīn
The account was written some 450 years later by an unreliable chronicler, and two sisters founding the two great mosques of Fez is too convenient; it looks like legend.Roger Le Tourneau (1949) and Jonathan Bloom (2020), as reported in the Wikipedia article on the Qarawiyyin; not opened here
A cedar inscription found under plaster proclaims the founding of 'this mosque' by the Idrisid Dawud ibn Idris in Dhu al-Qa'da 263 AH (877). It is the mosque's true foundation text, and Fatima may be a figure of legend. Its finder, G. Deverdun, thought instead that it had been brought from another mosque.Chafik Benchekroun and Péter T. Nagy, as reported in the same article; against them G. Deverdun
Verdict: A mosque for the Kairouan quarter existed at Fez by the later ninth century. The tradition of Fatima is old and specific, but it rests on fourteenth-century texts, and the inscription of 263 AH is an earlier witness that does not name her. She is neither proved nor disproved. The title of oldest university is a modern label: the earliest clear evidence of teaching there, per A. Tazi as reported, is of 1121, and it became a university by reorganisation in 1963.
Meanwhile
Sources (3)
Encyclopaedia of Islam (2nd/3rd ed.) — Brillal-Ḳarawiyyīn, vol. 4
Ibn Abi Zar', Rawd al-Qirtas, and al-Jaznai, Zahrat al-As, as cited in the Encyclopaedia of Islam
Wikipedia, 'University of al-Qarawiyyin', used only as a pointer to Le Tourneau 1949, Bloom 2020, Benchekroun, Nagy, Deverdun and Tazi; those works were not opened