The University of al-Qarawiyyin (Arabic: جامعة القرويين, romanized: Jāmiʻat al-Qarawīyīn), also written Al-Karaouine or Al Quaraouiyine, is a university located in Fez, Morocco. It was founded as a mosque by Fatima al-Fihri in 857–859 and subsequently became one of the leading spiritual and educational centers of the Islamic Golden Age. It was incorporated into Morocco's modern state university system in 1963 and officially renamed "University of Al Quaraouiyine" two years later. The mosque building itself is also a significant complex of historical Moroccan and Islamic architecture that features elements from many different periods of Moroccan history.
UNESCO and Guinness World Records have cited al-Qarawiyyin as the oldest university or oldest continually operating higher learning institution in the world. Scholars consider al-Qarawiyyin to have been effectively run as a madrasa until after World War II. Many scholars distinguish this status from the status of "university", which they view as a distinctly European invention. They date al-Qarawiyyin's transformation from a madrasa into a university to its modern reorganization in 1963.
Education at the University of al-Qarawiyyin concentrates on the Islamic religious and legal sciences with a heavy emphasis on, and particular strengths in, Classical Arabic grammar/linguistics and Maliki Sharia, though lessons on non-Islamic subjects are also offered to students. Teaching is still delivered in the traditional methods. The university is attended by students from all over Morocco and Muslim West Africa, with some also coming from further abroad. Women were first admitted to the institution in the 1940s after the women's movement pressured the French colonial government at the time.
Contents
Name
The Arabic name of the university means "University of the People from Kairouan". Factors such as the provenance of Fatima al-Fihriya's family in Tunisia, the presence of the letter Qāf (ق) – a voiceless uvular plosive which has no equivalent in European languages – the ويّي ([awijiː]) triphthong in the university's name, and the French colonization of Morocco have resulted in a number of different orthographies for the romanization of the university's name, including al-Qarawiyyin, a standard anglicization; Al Quaraouiyine, following French orthography; and Al-Karaouine, another rendering using French orthography.
History
Foundation of the mosque
In the 9th century, Fez was the capital of the Idrisid dynasty, the first Islamic state based in present-day Morocco. According to one of the major early sources on this period, the Rawd al-Qirtas by Ibn Abi Zar, al-Qarawiyyin was founded as a mosque in 857 or 859 by Fatima al-Fihri, the daughter of a wealthy merchant named Mohammed al-Fihri. The al-Fihri family had migrated from Kairouan (hence the name of the mosque), Tunisia to Fez in the early 9th century, joining a community of other migrants from Kairouan who had settled in a western district of the city. Fatima and her sister Mariam, both of whom were well educated, inherited a large amount of money from their father. Fatima vowed to spend her entire inheritance to build a mosque suitable for her community. Similarly, her sister Mariam is also reputed to have founded al-Andalusiyyin Mosque the same year.
This foundation narrative has been questioned by some modern historians who see the symmetry of two sisters founding the two most famous mosques of Fez as too convenient and likely originating from a legend. Ibn Abi Zar is also judged by contemporary historians to be a relatively unreliable source. One of the biggest challenges to this story is a foundation inscription that was rediscovered during renovations to the mosque in the 20th century, previously hidden under layers of plaster for centuries. This inscription, carved onto cedar wood panels and written in a Kufic script very similar to foundation inscriptions in 9th-century Tunisia, was found on a wall above the probable site of the mosque's original mihrab (prior to the building's later expansions). The inscription, recorded and deciphered by Gaston Deverdun, proclaims the foundation of "this mosque" (Arabic: "هذا المسجد") by Dawud ibn Idris (a son of Idris II who governed this region of Morocco at the time) in Dhu al-Qadah 263 AH (July–August of 877 CE). Deverdun suggested the inscription may have come from another unidentified mosque and was moved here at a later period (probably 15th or 16th century) when the veneration of the Idrisids was resurgent in Fez, and such relics would have held enough religious significance to be reused in this way. However, Chafik Benchekroun argued more recently that a more likely explanation is that this inscription is the original foundation inscription of al-Qarawiyyin itself and that it might have been covered up in the 12th century just before the Almohads' arrival in the city. Based on this evidence and on the many doubts about Ibn Abi Zar's narrative, he argues that Fatima al-Fihri is quite possibly a legendary figure rather than a historical one. Péter T. Nagy has also stated that the uncovered foundation inscription is more convincing evidence of the mosque's original foundation date than the traditional historiographical narrative.
Early history
Some scholars suggest that some teaching and instruction probably took place at al-Qarawiyyin Mosque from a very early period or from its beginning. Major mosques in the early Islamic period were typically multi-functional buildings where teaching and education took place alongside other religious and civic activities. The al-Andalusiyyin Mosque, in the district across the river, may have also served a similar role up until at least the Marinid period, though it never equaled the Qarawiyyin's later prestige. It is unclear at what time al-Qarawiyyin began to act more formally as an educational institution, partly because of the limited historical sources that pertain to its early period. The most relevant major historical texts like the Rawd al-Qirtas by Ibn Abi Zar and the Zahrat al-As by Abu al-Hasan Ali al-Jazna'i do not provide any clear details on the history of teaching at the mosque, though al-Jazna'i (who lived in the 14th century) mentions that teaching had taken place there before his time. Otherwise, the earliest mentions of halaqa (circles) for learning and teaching may not have been until the 10th or the 12th century. Historian Abdelhadi Tazi indicates the earliest clear evidence of teaching at al-Qarawiyyin in 1121. Moroccan historian Mohammed Al-Manouni believes that the mosque acquired its function as a teaching institution during the reign of the Almoravids (1040–1147). Historian Évariste Lévi-Provençal dates the beginning of teaching to the Marinid period (1244–1465).
In the 10th century, the Idrisid dynasty fell from power and Fez was contested between the Fatimid and Córdoban Umayyad caliphates and their allies. During this period, the Qarawiyyin Mosque progressively grew in prestige. At some point the khutba (Friday sermon) was transferred from the Shurafa Mosque of Idris II (today the Zawiya of Moulay Idris II) to the Qarawiyyin Mosque, granting it the status of Friday mosque (the community's main mosque). This transfer happened either in 919 or in 933, both dates that correspond to brief periods of Fatimid domination over the city, and suggests that the transfer may have occurred by Fatimid initiative. The mosque and its learning institution continued to enjoy the respect of political elites, with the mosque itself being significantly expanded by the Almoravids and repeatedly embellished under subsequent dynasties. Tradition was established that all the other mosques in Fez based the timing of their call to prayer (adhan) according to that of al-Qarawiyyin.
Apogee during the Marinid period
Many scholars consider al-Qarawiyyin's high point as an intellectual and scholarly center to be in the 13th and 14th centuries, when the curriculum was at its broadest and its prestige had reached new heights after centuries of expansion and elite patronage. Among the subjects taught around this period or shortly after were traditional religious subjects such as the Quran and fiqh (Islamic jurisprudence), and other sciences like grammar, rhetoric, logic, medicine, mathematics, astronomy and geography. By contrast, some subjects like alchemy/chemistry were never officially taught as they were considered too unorthodox.Starting in the late 13th century, and especially in the 14th century, the Marinid dynasty was responsible for constructing a number of formal madrasas in the areas around al-Qarawiyyin's main building. The first of these was the Saffarin Madrasa in 1271, followed by al-Attarine in 1323, and the Mesbahiya Madrasa in 1346. A larger but much later madrasa, the Cherratine Madrasa, was also built nearby in 1670. These madrasas taught their own courses and sometimes became well-known institutions, but they usually had narrower curricula or specializations. One of their most important functions seems to have been to provide housing for students from other towns and cities – many of them poor – who needed a place to stay while studying at al-Qarawiyyin. Thus, these buildings acted as complimentary or auxiliary institutions to al-Qarawiyyin itself, which remained the center of intellectual life in the city.
Al-Qarawiyyin also compiled a large selection of manuscripts that were kept at a library founded by the Marinid sultan Abu Inan Faris in 1349. The collection housed numerous works from the Maghreb, al-Andalus, and the Middle East. Part of the collection was gathered decades earlier by Sultan Abu Yusuf Ya'qub (ruled 1258–1286), who persuaded Sancho IV of Castile to hand over a number of works from the libraries of Seville, Córdoba, Almeria, Granada, and Malaga in al-Andalus/Spain. Abu Yusuf initially housed these in the nearby Saffarin Madrasa (which he had recently built), but later moved them to al-Qarawiyyin. Among the most precious manuscripts currently housed in the library are volumes from the Al-Muwatta of Malik written on gazelle parchment, a copy of the Sirat by Ibn Ishaq, a 9th-century Quran manuscript (also written on gazelle parchment), a copy of the Quran given by Sultan Ahmad al-Mansur in 1602, a copy of Ibn Rushd's Al-Bayan Wa-al-Tahsil wa-al-Tawjih (a commentary on Maliki fiqh) dating from 1320, and the original copy of Ibn Khaldun's book Al-'Ibar (including the Muqaddimah) gifted by the author in 1396. Recently rediscovered in the library is an ijazah certificate, written on deer parchment, which some scholars claim to be the oldest surviving predecessor of a Medical Doctorate degree, issued to a man called Abdellah Ben Saleh Al Koutami in 1207 CE under the authority of three other doctors and in the presence of the chief qadi (judge) of the city and two other witnesses. The library was managed by a qayim or conservator, who oversaw the maintenance of the collection. By 1613 one conservator estimated the library's collection at 32,000 volumes.
Decline and reforms
Al-Qarawiyyin underwent a general decline in later centuries along with Fez. The strength of its teaching stagnated and its curriculum decreased in range and scope, becoming focused on traditional Islamic sciences and Arabic linguistic studies. Even some traditional Islamic specializations like tafsir (Quranic exegesis) were progressively neglected or abandoned. In 1788–89, the 'Alawi sultan Muhammad ibn Abdallah introduced reforms that regulated the institution's program, but also imposed stricter limits and excluded logic, philosophy, and the more radical Sufi texts from the curriculum. Other subjects also disappeared over time, such as astronomy and medicine. In 1845 Sultan Abd al-Rahman carried out further reforms, but it is unclear if this had any significant long-term effects. Between 1830 and 1906 the number of faculty decreased from 425 to 266 (of which, among the latter, only 101 were still teaching).
By the 19th century, the mosque's library also suffered from decline and neglect. A significant portion of its collection was lost over time, most likely due to lax supervision and to books that were not returned. By the beginning of the 20th century, the collection had been reduced to around 1,600 manuscripts and 400 printed books, though many valuable historic items were retained.
By the late 19th century, Western scholars began to recognize al-Qarawiyyin as a "university", a description which would become more established during the French protectorate period in the 20th century.
20th century and transformation into state university
At the time Morocco became a French protectorate in 1912, al-Qarawiyyin worsened as a religious center of learning from its medieval prime, though it retained some significance as an educational venue for the sultan's administration. The student body was rigidly divided along social strata: ethnicity (Arab or Berber), social status, personal wealth, and geographic background (rural or urban) determined the group membership of the students who were segregated by the teaching facility, as well as in their personal quarters.
The French administration implemented a number of structural reforms between 1914 and 1947, including the institution of calendars, appointment of teachers, salaries, schedules, general administration, and the replacement of the ijazah with the shahada alamiyha, but did not modernize the contents of teaching likewise which were still dominated by the traditional worldviews of the ulama. At the same time, the student numbers at al-Qarawiyyin decreased to 300 in 1922 as the Moroccan elite sent their children to the newly founded Western-style colleges and institutes elsewhere in the country. Moroccan and French authorities began planning further reforms for al-Qarawiyyin in 1929. In 1931 and 1933, on the orders of Muhammad V, the institution's teaching was reorganized into elementary, secondary, and higher education.
Al-Qarawiyyin also played a role in the Moroccan nationalist movement and in protests against the French colonial regime. Many Moroccan nationalists had received their education here and some of their informal political networks were established due to the shared educational background. In July 1930, al-Qarawiyyin strongly participated in the propagation of Ya Latif, a communal prayer recited in times of calamity, to raise awareness and opposition to the Berber Dahir decreed by the French authorities two months earlier. In 1937 the mosque was one of the rallying points (along with the nearby R'cif mosque) for demonstrations in response to a violent crackdown on Moroccan protesters in Meknes, which ended with French troops being deployed across Fes el Bali and at the mosques.In 1947, al-Qarawiyyin was integrated into the state educational system, and women were first admitted to study there during the 1940s. In 1963, after Moroccan independence, al-Qarawiyyin was officially transformed by royal decree into a university under the supervision of the ministry of education. Classes at the old mosque ceased and a new campus was established at a former French Army barracks. While the dean took his seat at Fez, four faculties were founded in and outside the city: a faculty of Islamic law in Fez, a faculty of Arab studies in Marrakesh, and two faculties of theology in Tétouan and near Agadir. Modern curricula and textbooks were introduced and the professional training of the teachers improved. Following the reforms, al-Qarawiyyin was officially renamed "University of Al Quaraouiyine" in 1965.
Education and curriculum
Education at al-Qarawiyyin University concentrates on the Islamic religious and legal sciences with a heavy emphasis on, and particular strengths in, Classical Arabic grammar/linguistics and Maliki law, though some lessons on other non-Islamic subjects such as French and English are also offered to students. Teaching is delivered with students seated in a semi-circle around a sheikh, who prompts them to read sections of a particular text; asks them questions on particular points of grammar, law, or interpretation; and explains difficult points. Students from Morocco and Islamic West Africa attend al-Qarawiyyin, though some come from Muslim Central Asia. Spanish Muslim converts frequently attend the institution, largely attracted by the fact that the sheikhs of al-Qarawiyyin, and Islamic scholarship in Morocco in general, are heirs to the rich, religious, and scholarly heritage of Muslim al-Andalus. Research grants were provided by land assets bought with a fund provided by the main university fund from Fatima herself.
Most students at al-Qarawiyyin range are between 13 and 30 years old, and study towards high school-level diplomas and university-level bachelor's degrees, although Muslims with a sufficiently high level of Arabic can attend lecture circles on an informal basis, given the traditional category of visitors "in search of [religious and legal] knowledge". In addition to being Muslim, prospective students of al-Qarawiyyin are required to have fully memorized the Quran, as well as other shorter medieval Islamic texts on grammar and Maliki law, and to be proficient in classical Arabic.
Architecture of the mosque
Al-Qarawiyyin Mosque was founded in the 9th century, but its present form is the result of a long historical evolution over the course of more than 1,000 years. Successive dynasties expanded the mosque until it became the largest in Africa, with a capacity of 22,000 worshipers. The present-day mosque covers an extensive area of about half a hectare. Broadly speaking, it consists of a large hypostyle interior space for prayers (the prayer hall), a courtyard with fountains (the sahn), a minaret at the courtyard's western end, and a number of annexes around the mosque itself.
Historical evolution
The original mosque building was built in the 9th century. A major modern study of the mosque's structure, published by French archeologist and historian Henri Terrasse in 1968, determined that traces of the original mosque could be found in the layout of the current building. This initial form of the mosque occupied a large space immediately to the south of the sahn, in what is now the prayer hall. It had a rectangular floor plan measuring 36 by 32 meters, covering an area of 1520 square meters, and was composed of a prayer hall with four transverse aisles running roughly east–west, parallel to the southern qibla wall. It probably also had a courtyard of relatively small size, and the first minaret, also of small size, reportedly stood on the location now occupied by the wooden anaza (at the central entrance to the prayer hall from the courtyard). Water for the mosque was initially provided by a well dug within the mosque's precinct.
As Fez grew and the mosque increased in prestige, the original building was insufficient for its religious and institutional needs. During the 10th century, the Umayyad Caliphate of Córdoba and the Fatimid Caliphate constantly fought for control over Fez and Morocco, seen as a buffer zone between the two. Despite this uncertain period, the mosque received significant patronage and had its first expansions. The Zenata Berber emir Ahmed ibn Abi Said, one of the rulers of Fez during this period who was aligned with the Umayyads, wrote to the caliph Abd al-Rahman III in Córdoba for permission and funds to expand the mosque. The caliph approved, and the work was carried out or completed in 956. It expanded the mosque on three sides, encompassing the area of the present-day courtyard to the north and up to the current eastern and western boundaries of the building. It also replaced the original minaret with a new, larger minaret still standing today. Its overall form, with a square shaft, was indicative of the subsequent development of Maghrebi and Andalusian minarets.
The mosque was embellished when the Amirid ruler al-Muzaffar (son of al-Mansur) led a military expedition to Fez in 998. The embellishments included a new minbar and a dome topped by talismans in the shape of a rat, a serpent, and a scorpion. Of these, only the dome itself, whose exterior is distinctively fluted or grooved, survives today, located above the courtyard entrance to the prayer hall. A similar dome, located across the courtyard over the northern entrance of the mosque (Bab al-Ward or "Gate of the Rose"), likely also dates from the same time.
Current structure
Al-Qarawiyyin's exterior does not generally present a monumental appearance and is integrated with the dense urban fabric around it. By one count there are 18 separate gates and entrances distributed around its perimeter. The gates vary from small rectangular doorways to enormous horseshoe arches with huge doors preceded by wooden roofs covering the street in front of them. While the doors are generally made of wood, some of the gates have extensive ornate bronze overlays crafted during the Almoravid period. The most ornate and best-preserved examples include the doors of the principal northern gate, Bab al-Ward (which opens onto the courtyard), the western gate called Bab Sbitriyyin, and the southwestern gate Bab al-Gna'iz, which leads to the Jama' al-Gna'iz. While the doors of Bab al-Ward preserve original pieces and were restored in 2005–2007, the doors of Bab al-Gna'iz and Bab Sbitriyyin are replicas made in the 1950s that replaced the originals, whose fragments are kept by the Dar Batha Museum. The northwestern gates of the mosque, Bab al-Shama'in (or Bab Chemaine) and Bab al-Maqsura, also have heavy bronze fittings, including some ornate knockers that date from the Almoravid period.
Adjacent to Bab al-Ward, on its west side, is another doorway, Bab al-Hafa ("Gate of the Barefooted"). This gate dates to the Almohad era. It is distinguished by a small water channel that runs across the floor just inside it. The channel allowed worshipers entering the mosque to wash their feet on the way in, helping with initial ablutions.
Next to the mosque is a tower known as the Borj Neffara (برج النفارة, "Tower of the Trumpeters"), an observation tower that is sometimes confused as a minaret but was actually part of another Dar al-Muwaqqit.
The interior hypostyle prayer hall takes up most of the mosque's area. Like the interior of most traditional mosques in Moroccan architecture, it is a relatively austere space with mostly plain walls, wooden ceilings, and rows of horseshoe arches. The main area, south of the courtyard, is a vast space divided into ten transverse aisles by rows of arches running parallel to the southern wall. The southern wall of this hall also marks the qibla. The central axis of the prayer hall, perpendicular to the qibla wall, is marked by a central nave running between two extra lines of arches along this axis, perpendicular to the other arches. This nave leads towards the mihrab: a niche in the qibla wall which symbolizes the direction of prayer, and in front of which the imam usually leads prayers and delivers sermons. This overall layout (a hypostyle hall with a central nave emphasized against the others) is a familiar layout for North African mosques generally, although the Qarawiyyin Mosque differs from most by having its regular aisles of arches run parallel to the qibla wall rather than perpendicular to it.
Status as world's oldest university
UNESCO has previously described al-Qarawiyyin to be the "oldest university in the world" in the World Heritage Sites entry for Medina of Fez. UNESCO describes the University of Bologna (founded in 1088 and usually recognized as the oldest medieval European university) as the "oldest university of the Western world". Some historians and scholars also refer to al-Qarawiyyin as the world's oldest existing university. The claim is also published by the Guinness World Records, under its entry for "[o]ldest higher-learning institution, oldest university", where it describes al-Qarawiyyin as the "oldest existing, and continually operating educational institution in the world", while the University of Bologna is described as the "oldest one in Europe". Similarly, the Encyclopædia Britannica dates al-Qarawiyyin University's foundation to the mosque's foundation in 859 and generally considers that "universities" existed outside Europe before the advent of the European university model. Other sources also refer to the historical or pre-modern al-Qarawiyyin as a "university" or an "Islamic university".
Many scholars consider the term university to be applicable only to the educational institutions that initially took form in medieval Christian Europe, and argue that the first universities were located in Western Europe, with those of Paris and Bologna often cited as the earliest examples. The modern Western university model is thus widely argued to descend from this European tradition, even if other models of higher education existed in other parts of the world. Jacques Verger says that while the term university is occasionally applied by scholars to madrasas and other pre-modern higher learning institutions out of convenience, the European university marked a major disruption between earlier institutions of higher learning and was the earliest true modern university. Many scholars consider that the university was only adopted outside the West, including into the Islamic world, in the course of modernization programs or under European colonial regimes since the beginning of the 19th century.
Among opposing views, Yahya Pallavicini claims that the university model did not spread in Europe until the 12th century and that it was found throughout the Muslim world from the founding of al-Qarawiyyin in the 9th century until at least European colonialism. Some scholars, noting certain parallels between such madrasas and European medieval universities, have proposed that the latter may have been influenced by the madrasas of the Muslim world, in particular via Islamic Spain and the Emirate of Sicily. Other scholars have questioned this, citing the lack of evidence for an actual transmission from the Islamic world to Christian Europe and highlighting the differences in the structure, methodologies, procedures, curricula and legal status of the madrasa versus the European university.
Notable alumni
A number of well-known philosophers, scholars, and politicians in the history of Morocco and the western Mediterranean have either studied or taught at the Qarawiyyin since its founding.
Maimonides (1135/1138–1204), Jewish philosopher
Ibn Arabi (1165–1240), Sufi philosopher
Ibn Khaldun (1332–1406), historian and philosopher
Leo Africanus (1494–1554), author
Ahmed Mohammed al-Maqqari (1577–1632), historian and theologian, appointed imam and mufti by the Saadi Sultan Zaydan
Imam al-Bannani (1727–1780), faqīh (Muslim jurist)
Ahmad ibn Idris (1760–1837), Moroccan Sufi scholar
Muhammad al-Kattani (1873–1909), writer and political leader
Abd el-Krim el-Khattabi (1882–1963), Rifian-Moroccan political and military leader
Allal al-Fassi (1910–1974), Moroccan politician
Muhammad Taqi-ud-Din al-Hilali (1893–1987), translator
Abu Chataa al-Jamaï (1904/1905–1990), Moroccan Salafi Islamic scholar
Abdullah al-Ghumari (1910–1993), faqīh (Muslim jurist)
Fatima al-Kabbaj (1932–), Member of High Council of Knowledge (Islamic council) Notably, one of the first few women to be admitted.




