Most people interested in Islamic and Moroccan histories have heard of Al-Qarawiyyin Mosque in Fez, one of the oldest mosques in the Maghreb and home to the oldest continually-operating university in the world. However, the glory of Al-Qarawiyyin may have cast a shadow over Al-Andalus Mosque, a building also of great importance in the history of Fez, Morocco’s oldest imperial city.
The story of Al-Andalus Mosque dates back to the 9th century when Fez was still a young city establishing its foundations. Built in the year 860, only one year after the completion of Al-Qarawiyyin’s foundation, Al-Andalus Mosque is one of the oldest mosques in Morocco and North Africa.
The histories of Al-Andalus and Al-Qarawiyyin mosques are so entwined that the two monuments share the same blood. While Al-Qarawiyyin was built by historical figure Fatima al-Fihriya, her sister Maryam al-Fihriya built Al-Andalus.
The two sisters, originally from Kairouan, in modern-day Tunisia, inherited a fortune after their father Muhammad al-Fihri, a successful merchant in Fez, passed away. To promote the teaching of Fiqh (Islamic jurisprudence) and Hadith (teachings of Prophet Muhammad), which they had extensively studied, the sisters decided to invest their new fortune into building mosques that would also serve as spaces to exchange knowledge.
Al-Andalus Mosque takes its name from the Andalusian refugees who fled Cordoba, in modern-day Spain, after their rebellion against the Umayyads ruling the Andalusian city. In the year 818, Fez welcomed approximately 800 Andalusian families who both helped to build the mosque and used it as a place of worship after its completion.
Through its more than 1,000 years of existence, Al-Andalus Mosque underwent a series of renovations and upgrades. The original construction was modest: It consisted of arcades with seven vaults, two libraries, and a small Sahn, or courtyard, in the middle. Several trees were planted in the mosque’s courtyard, which had access to abundant water through a channel.
Renovations and additions
A few years after its initial completion, the Andalusian migrants built a minaret for the mosque. The square-shaped minaret has simple decorations on its frame and was built to resemble the minaret of Al-Qarawiyyin Mosque. Today, the minaret is one of the few parts of the mosque that remain unaltered from their original construction.
Approximately 100 years after it was built, Al-Andalus Mosque gained importance in Fez after the city’s governor at the time, Obaidullah, made it the city’s site for khutbah, the religious sermon given during the Friday prayer. At the time, the khutbah was not only a religious speech, but had political and social dimensions. It served to unite the people and bring their attention to current issues.
Before Al-Andalus Mosque became a destination for Friday prayers, the khutbah used to be given in Al-Ashyakh Mosque, the first mosque ever built in Fez. The decision to move the khutbah to Al-Andalus was mainly due to the growing population of Fez and the relatively small size of the old mosque.
During the Almohad Dynasty (1147-1248), Al-Andalus Mosque saw the construction of a large gate that overlooks its northern facade. The gate, built between 1203 and 1207 under the orders of the fourth Almohad caliph, Muhammad al-Nasir, is topped by two domes. One dome is made of carved plasters, while the second is built of cedarwood. The gate was also ornamented with a combination of wooden zellige, a form of mosaic tile work, and Persian Qashani decorations.
Under Al-Nasir’s rule, the mosque underwent a complete overhaul. The caliph ordered a series of renovations including the replacement of old stone-made pillars with new ones made of bricks. Only the minaret remained as it was.
During the Marinid Dynasty (1248-1465), a period known as the Golden Age of Fez, Al-Andalus Mosque became a branch of Al-Qarawiyyin University and served as a school to teach the Maliki school of Fiqh.
Between the 13th and the 14th centuries, new schools appeared in the surrounding space, such as the Sahrij Madrasa, which was built to accommodate students who came from distant places to study at Al-Andalus, or the Sab’in Madrasa, which was dedicated to teaching the seven different styles of Quran recitation.