Kutubiyya Mosque


The Kutubiyya Mosque or Koutoubia Mosque is the largest mosque in Marrakesh, Morocco. The mosque's name is also variably rendered as Jami' al-Kutubiyah, Kutubiya Mosque, Kutubiyyin Mosque, and Mosque of the Booksellers. It is located in the southwest medina quarter of Marrakesh, near the famous public place of Jemaa el-Fna, and is flanked by large gardens.
The mosque was founded in 1147 by the Almohad caliph Abd al-Mu'min right after he conquered Marrakesh from the Almoravids. A second version of the mosque was entirely rebuilt by Abd al-Mu'min around 1158, with Ya'qub al-Mansur possibly finalizing construction of the minaret around 1195. This second mosque is the structure that stands today. It is considered a classic and important example of Almohad architecture and of Moroccan mosque architecture generally. The minaret tower, in height, is decorated with varying geometric arch motifs and topped by a spire and metal orbs. It likely inspired other buildings such as the Giralda of Seville and the Hassan Tower of Rabat, which were built shortly after in the same era. The minaret is also considered an important landmark and symbol of Marrakesh.

Geography

The mosque is located about west of the city’s the Jemaa El Fna souq, a prominent market place which has existed since the city's establishment. It is situated on the Avenue Mohammed V, opposite Place de Foucauld. During French occupation, the network of roads was developed with the mosque as the central landmark, in the ville nouvelle. To the west and south of the mosque is a notable rose garden, and across Avenue Houmman-el-Fetouaki is the small mausoleum of the Almoravid emir Yusuf ibn Tashfin, one of the great builders of Marrakesh, consisting of a simple crenelated structure.
In the mosque's esplanade, which backs onto Jemaa el Fna, the ruins of the first Kutubiyya Mosque can be seen. A part of the perimeter of the Ksar al-Hajjar, the original stone fortress built in 1070 by Abu Bakr ibn Umar, the Almoravid founder of the city, was also uncovered on the northern side of the original mosque. Also visible today at the northeast corner of these ruins is a part of Bab 'Ali, the monumental stone gate of Ali ibn Yusuf's former palace which was completed in 1126 next to the fortress before being demolished by the Almohads to make way for their new mosque.
Also on the same esplanade is a small white domed building, the Koubba of Lalla Zohra. This is the tomb of Fatima Zohra bint al-Kush, a female mystic who died in the early 17th century and was buried here near the mosque.

Origin of name

All the names and spellings of Kutubiyya Mosque, including Jami' al-Kutubiyah, Kotoubia, Kutubiya, and Kutubiyyin, are based on the Arabic word kutubiyyin, which means "booksellers". The Koutoubia Mosque, or Bookseller's Mosque, reflects the honorable bookselling trade practiced in the nearby souk. At one time as many as 100 book vendors worked in the streets at the base of the mosque.

History

Almohad conquest and reform of Marrakesh

The city of Marrakesh was founded around 1070 by the Almoravid dynasty to be their capital, but was captured in 1147 by the Almohads under their leader Abd al-Mu'min. While the Almohads decided to make Marrakesh their capital too, they did not want any trace of religious monuments built by the Almoravids, their staunch enemies, as they considered them heretics. They reportedly demolished all the mosques in the city, including the main mosque, the Ben Youssef Mosque, arguing that the Almoravid mosques were not aligned with the proper qibla.
Since the former Almoravid grand mosque was already closely integrated into the surrounding urban fabric, it was not practical for the Almohads to rebuild an entirely new mosque with a significantly different orientation on the same site. It's possible that they did not even demolish the mosque but merely left it derelict. The Almohads may have also wished to have the city's main mosque located closer to the kasbah and royal palaces, as was common in other Islamic cities. As a result, Abd al-Mu'min decided to build the new mosque right next to the former Almoravid kasbah, the Ksar el-Hajjar, which became the site of the new Almohad royal palace, located west of the city's main square.

The question of the Almohad versus Almoravid ''qibla'' alignement

The issue of the qibla alignement of the Kutubiyya and other Almohad mosques is a complex one which is often misunderstood. The justification given by the Almohads for the destruction of existing Almoravid mosques was that their qibla was aligned too far to the east, which the Almohads judged to be incorrect as they preferred a tradition that existed in the western Islamic world according to which the qibla should be oriented towards the south instead. This alignment was actually further away from the "true" qibla which points directly towards Mecca and which is used in modern mosques everywhere today. Qibla orientations varied throughout the medieval period of Morocco but the Almohads generally followed an orientation between 154° and 159°, whereas the "true" qibla in Marrakesh is 91°. This true qibla was eventually adopted in modern times and is evident in more recent mosques including the current Ben Youssef Mosque which was rebuilt in 1819 with a qibla of 88°.
The Almohad qibla was similar to the qibla orientation of the Great Mosque of Cordoba and the Qarawiyyin Mosque of Fes, both founded at an early period in the late 8th to early 9th centuries. This traditional qibla was based on a saying of the Prophet Muhammad which stated that "What is between the east and west is a qibla", which thus legitimized southern alignments. This practice may also have sought to emulate the orientation of the walls of the rectangular Kaaba building inside the Great Mosque of Mecca, based on another tradition which considered the different sides of the Kaaba as being associated with different parts of the Muslim world. In this tradition the northwest face of the Kaaba was associated with al-Andalus and, accordingly, the Great Mosque of Cordoba was oriented towards the southeast as if facing the Kaaba's northwestern facade, with its main axis parallel to the main axis of the Kaaba structure. This architectural alignment was typically achieved by using astronomical alignments to reproduce the appropriate orientation of the Kaaba itself, whose minor axis is aligned with the direction of sunrise at the summer solstice.
That being said, medieval Muslims did in fact possess sufficient mathematical knowledge to calculate a reasonably accurate "true" qibla pointing directly towards Mecca. A more easterly qibla orientation was already evident in the royal mosque of Madinat al-Zahra built later in the 10th century, as well as in the orientation of the original Almoravid Ben Youssef Mosque, estimated to be 103°. The Almohads, who rose to power after these periods, apparently chose a qibla orientation which they saw as more ancient or traditional, or as emulating the prestigious Great Mosque of Cordoba. Whether their interpretation of the qibla was a true and rigorously followed directive or a mostly symbolic argument to differentiate themselves from the Almoravids is still questioned by scholars.

The first Kutubiyya Mosque

Abd al-Mu'min began construction of the first Kutubiyya Mosque in 1147, the same year that he had conquered the city. Adjoined to the walls of the former Almoravid kasbah, the mosque may have also been built on top of some of the former Almoravid palace's annexes and maybe even over a royal cemetery or mausoleum. The date of the first mosque's completion is unconfirmed, but is estimated by historians to have been around 1157, when it is known with some certainty that prayers were conducted in the mosque. It was in 1157 that a celebrated copy of the Qur'an attributed to the hand of Caliph Uthman, previously kept in the Great Mosque of Cordoba, was transferred to the mosque. Abd al-Mu'min also transferred to his mosque the famous Almoravid minbar of the Ben Youssef Mosque, originally commissioned by Ali ibn Yusuf from a workshop in Cordoba.
The mosque was likely connected to the adjacent royal palace via a passage which allowed the Almohad caliph to enter the mosque directly from his palace without having to pass through the public entrances. This passage likely passed through the imam's chamber behind the southeastern qibla wall and therefore may have disappeared when the second mosque was built over this area. Modern archeological excavations have also confirmed the existence in the first Kutubiyya Mosque of a near-legendary mechanism which allowed the wooden maqsura to rise from a trench in the ground seemingly by itself, and then retract in the same manner when the caliph left. Another semi-automated mechanism also allowed the minbar to emerge and move forward from its storage chamber seemingly by itself. The exact functioning of the mechanism is unknown, but may have relied on a hidden system of counterweights.
The new Almohad mosque was thus imbued with great political and religious symbolism, being closely associated with the ruling dynasty, and makes subtle references to the ancient Ummayyad caliphate in Cordoba, whose great mosque was a model for much of subsequent Moroccan and Moorish architecture. It is unknown if the first Kutubiyya Mosque had a minaret, though some historians have suggested that a former bastion of the Almoravid kasbah on the mosque's northeastern corner may have been converted into the mosque's first minaret, whose remains might have been visible even as late as the beginning of the 19th century.
It is unclear when exactly the first Kutubiyya Mosque disappeared, but its layout is well-known thanks to modern excavations starting in 1923. The excavated foundations of the mosque, as well as the outline of its mihrab and qibla wall, are still visible today on the current mosque's northwestern side. Also visible today nearby are the uncovered vestiges of the Ksar el-Hajjar to which the mosque was adjoined.

The second (current) Kutubiyya Mosque

At some point, Abd al-Mu'min decided to build a second mosque directly adjoined to the southeastern side of the first mosque. The reasons for this unusual decision are still not fully understood. The main historical narratives assert that Abd al-Mu'min discovered, possibly during its construction, that the initial mosque was misaligned with the qibla. The second mosque is indeed aligned slightly further to the south, at an azimuth of 159° or 161° from the true north, compared to the 154° alignment of the first mosque. This actually makes the second mosque 5 to 7 degrees further out of alignment with respect to the "true" qibla. Why this slightly different alignment was preferred is unclear; it may be that the first mosque was aligned with the walls of the Ksar el-Hajjar and that this was judged sufficient at the time, but that the alignment of the second mosque more closely matched that of the Tinmal Mosque which had been built in the meantime. In practice, the alignment problem could have been a minor issue as devotees could always adjust the direction when offering prayers in the hall. Other possible motivations for the construction of the second mosque may have been to accommodate a growing population, to double the building's size to make it more impressive, or even as an excuse to make one of the mosques exclusive to the ruling elites while the other was used by the general population.
The construction dates of the second mosque are also not firmly established. One historical chronicle, reported by al-Maqqari, claims that construction began on the second mosque in May 1158 and was completed with the inauguration of the first Friday prayers in September of the same year. However, this construction period seems implausibly short and it is likely that construction either began before May 1158 or continued after September 1158. As mentioned, it is not known when the first mosque was actually deserted, or even whether it was abandoned and allowed to deteriorate or if it was consciously demolished at some point. It is believed that the two mosques may have initially coexisted as one large mosque. Gaston Deverdun, in his heavily-cited 1959 book on the history of Marrakesh, suggested the possibility that the first mosque was only abandoned after Ya'qub al-Mansur built a new royal citadel further south. As part of this citadel, al-Mansur had also raised a new Kasbah Mosque, completed in 1190, which subsequently served as the main mosque of the caliph and the ruling elites. This would have thus made the old Kutubiyya less useful, particularly the first mosque. It is even possible that the first Kutubiyya was dismantled in order to reuse its materials in the construction of the new kasbah and its mosque.
The famous minaret of the mosque, which is visible today, is also not conclusively dated. Some historical sources attribute it to Abd al-Mu'min while others attribute it to Ya'qub al-Mansur. According to some historians, the most likely scenario is that the minaret was begun before 1158 and largely built by Abd al-Mu'min, or at the very least designed on his commission. It is plausible, however, that Ya'qub al-Mansur either finished the work in his time, or that he added the small secondary "lantern"-tower at its summit in 1195.
The second Kutubiyya Mosque was built almost identical to the first except for its adjusted orientation. The layout, architectural designs, dimensions and materials used for construction were almost all the same. The only architectural differences are in a few details and in the fact that the second mosque was slightly wider than the first. The mosque's floor plan is also slightly irregular due to the fact that its northern wall is still the old southern wall of the first mosque, which is at a slightly different angle from the second mosque. The mosque, and more specifically its minaret, was the forerunner of two other structures built on the same pattern, the "Tour Hassan" in Rabat and the Great Mosque of Seville, Spain, whose minaret is preserved as the Giralda. This structure thus became one of the models for subsequent Moroccan-Andalusian architecture.
Today, the mosque is still active and non-Muslims are not allowed inside. However, it is possible to visit the Tin Mal Mosque, built along the same lines, which is inactive but preserved as a historic site south of Marrakesh.

Architecture

Architectural details of the first mosque and the new mosque are almost identical except for the orientation. Hence, what is true of one holds true for the other, though the first mosque is now only visible as archaeological remains. The mosque is a characteristic Almohad design, and its various elements resemble those of many other mosques from the same period.

Exterior

The mosque is located in a large plaza with gardens, and is floodlit at night. The building, of bricks and sandstone, measures in width towards the east and to the west along a north to south direction. Brick work is found in the columns, arcades, middle of the qibla wall, and niche of the mihrab. Sandstone is used for the external walls built in the southern, eastern and western directions. The stone wall on the northern side of the first mosque abutted the old Almoravid fortress wall. The surfaces are enlivened by simple designs. All window sections have horseshoe-shaped and multifoil arches, arranged within a rectangle. A diamond shape is formed in the upper part as result of overlapping arches in woven design. Faience strips are provided with bricks in turquoise colour projecting out of the wall, in smaller decorative forms. Austere kufic script is also seen. The sahn or courtyard is wide, the same width as the nine central naves. There is an ablution fountain at the center of the courtyard. There are four entrances to the mosque, of which three open directly into the prayer hall while one opens into the courtyard. There is also an additional public entrance to the sahn from the north wall, along the central axis. The front elevation faces the street where book shops were located, hence the name "Booksellers' Mosque". There are two other private entrances to the mosque, one for the imam on the left side of the mihrab and the other for the Prince to enter directly into the maqsura.

Interior

The main prayer hall is a hypostyle hall with more than 100 pillars which support horseshoe-shaped arches along the parallel naves. The hall is large, to the south, and abuts the courtyard at its northern end. It is also a "T"-shape prayer hall, in that the nave along the qibla wall and the perpendicular central nave leading towards the mihrab are wider than other naves. The mihrab niche is on the qibla wall in the prayer hall along the widened central nave, for which entry is from the courtyard. There is a wide transverse nave that is aligned along the qibla wall at the south end of the prayer hall. Three wide central naves are aligned perpendicular to the hall to the north. The central naves are flanked by seven smaller parallel naves. In all, there are seventeen parallel naves. The longitudinal naves, about in length, are six times the width of the large transverse nave. The extensions of these naves are from the four outermost naves on either side of the prayer hall annexes and the courtyard.

Minaret

The minaret is designed in Almohad style and was constructed with rubble masonry using sandstone. It was originally covered with Marrakshi pink plaster, but in the 1990s, experts opted to expose the original stone work and removed the plaster. The minaret tower is in height, including the spire, itself tall. Each side of the square base is in length. The minaret is visible from a distance of. Its prominence makes it a landmark structure of Marrakesh, which is maintained by an ordinance prohibiting any high rise buildings to be built around it. The mu'azzin calling the faithful for the adhan, is given from the four cardinal directions at the top of the minaret.
Its design includes a high angular shaft with a smaller but identical superstructure resting on it, topped by a dome. Many features of the minaret are also included in other religious buildings in the country, such as a wide band of ceramic tiles, alternate pattern work on each side, and Moorish-styled scalloped keystone arches. Decorative carvings envelop the arched fenestrations. These carved compositions also originally featured polychrome painted decoration of geometric and plant motifs, of which only traces remain today. Above four-fifths of its height, the minaret has stepped merlons capping the perimeter of the main shaft, at which level there is an outdoor gallery approached by ramps. Inside the tower are six rooms in succession, one above the other, and the whole tower could be ascended via a wide interior ramp that allowed the mu'azzin to ride a horse to the top. Each exterior facade of the tower is designed differently as the window openings are arranged at different heights, conforming to the ascending ramp inside. The chambers inside are also enlivened with varying degrees of decoration, with the topmost chamber being especially notable for its ornamental ribbed dome ceiling with muqarnas squinches and geometric patterns.
The minaret is topped by a spire. The spire includes gilded copper balls, decreasing in size towards the top, a traditional style of Morocco. There are multiple legends about the orbs. One such legend states that the globes were originally made of pure gold, and there were at one time only three of them, the fourth having been donated by the wife of Yaqub al-Mansur as penance for breaking her fast for three hours one day during Ramadan. She had her golden jewelry melted down to form the fourth globe. Another version of the legend is that the balls were originally made entirely of gold fashioned from the jewellery of the wife of Saadian Sultan Ahmad al-Mansur. There is a flag pole next to the copper balls forming the spire, which is used for hoisting the religious green flag of the Prophet, which the mu'azzin does every Friday and on religious occasions. The floodlit tower has pleasant views at night.

Minbar of the Kutubiyya Mosque

History

The Kutubiyya Mosque's original minbar was commissioned by Ali ibn Yusuf, one of the last Almoravid rulers, and created by a workshop in Cordoba, Spain. Its production started in 1137 and is estimated to have taken seven years. It is regarded as “one of the unsurpassed creations of Islamic art”. Its artistic style and quality was hugely influential and set a standard which was repeatedly imitated, but never surpassed, in subsequent minbars across Morocco and parts of Algeria. It is believed that the minbar was originally placed in the first Ben Youssef Mosque. It was then transferred by the Almohad ruler Abd al-Mu'min to the first Kutubiyya Mosque and was later moved to the second incarnation of that mosque. It remained there until 1962, when it was moved to the El Badi Palace where it is now on display for visitors.

Description

The minbar is an essentially triangular structure with the hypotenuse side occupied by a staircase with nine steps. It is long, wide, and tall. The main structure is made in North African cedar wood, although the steps were made of walnut tree wood and the minbar's base was made with fir tree wood. The surfaces are decorated through a mix of marquetry and inlaid sculpted pieces. The large triangular faces of the minbar on either side are covered in an elaborate and creative motif centered around eight-pointed stars, from which decorative bands with ivory inlay then interweave and repeat the same pattern across the rest of the surface. The spaces between these bands form other geometric shapes which are filled with panels of deeply-carved arabesques, made from different coloured woods. There is a wide band of Quranic inscriptions in Kufic script on blackwood and bone running along the top edge of the balustrades. The other surfaces of the minbar feature a variety of other motifs. Notably, the steps of the minbar are decorated with images of an arcade of Moorish arches inside which are curving plant motifs, all made entirely in marquetry with different colored woods.

Mechanism moving the ''minbar'' and the ''maqsura''

Historical accounts describe a mysterious semi-automated mechanism in the Kutubiyya Mosque by which the minbar would emerge, seemingly on its own, from its storage chamber next to the mihrab and move forward into position for the imam's sermon. Likewise, the maqsura of the mosque was also retractable in the same manner and would emerge from the ground when the caliph attended prayers at the mosque, and then retract once he left. This mechanism, which elicited great curiosity and wonder from contemporary observers, was designed by an engineer from Malaga named Hajj al-Ya'ish, who also completed other projects for the caliph. Modern archaeological excavations carried out on the first Kutubiyya Mosque have found evidence confirming the existence of such a mechanism, though its exact workings are not fully established. One theory, which appears plausible from the physical evidence, is that it was powered by a hidden system of pulleys and counterweights.