Middle Ages876-879

Mosque of Ibn Tulun: Cairo's Oldest Intact Mosque (876-879)

The Mosque of Ibn Tulun in Cairo, built 876-879 by Ahmad ibn Tulun, is the city's oldest mosque surviving in its original form. Its history, design and minaret.

The large open courtyard of the Mosque of Ibn Tulun in Cairo, surrounded by arcades of pointed arches on brick piers
The large open courtyard of the Mosque of Ibn Tulun in Cairo, surrounded by arcades of pointed arches on brick piers. Image: Mark Fischer (CC BY-SA 2.0), Wikimedia Commons
Contents

The Mosque of Ibn Tulun in Cairo was built between about 876 and 879 by Ahmad ibn Tulun, the governor who made Egypt effectively independent of the Abbasid caliphs. It is one of the largest mosques in the world and the oldest in Cairo to survive largely in its original form. Its brick arcades, carved stucco and spiral-stair minaret bring the architecture of the Abbasid capital Samarra to the banks of the Nile.

Background: Ahmad ibn Tulun

Ahmad ibn Tulun was born in Baghdad in 835, the son of a Turkish slave soldier in the caliph’s service. He grew up in Samarra, the new Abbasid capital, where he received a military and religious education.

In 868 he was sent to Egypt as deputy governor. Exploiting the turmoil in the caliphate, which was also struggling with the Zanj Rebellion in Iraq, he built up his own army, took control of Egypt’s revenues and extended his power into Syria. His family, the Tulunids, ruled Egypt until 905.

In 870 Ibn Tulun founded a new administrative quarter, al-Qata’i (“the Allotments”), north-east of the older Arab city of Fustat. It contained his palace, barracks, a hippodrome and, as its centrepiece, a great Friday mosque.

Building the mosque

Construction began around 876, and a foundation inscription dates its completion to 265 of the Islamic calendar, which corresponds to 879. The site was a low hill called Jabal Yashkur. Later legends linked the hill with stories such as Noah’s Ark coming to rest there, but these are pious traditions rather than history.

The name of the architect is not securely known. Medieval writers tell of a Christian architect who designed the building with brick piers instead of columns so that no churches would need to be plundered for marble; historians treat the story with caution.

The design closely follows Samarra models. The core of the mosque is a square courtyard about 92 metres across, surrounded by arcades of pointed arches resting on massive brick piers with engaged corner columns. The prayer hall on the qibla side, facing Mecca, is five aisles deep. Around three sides runs an outer enclosure, the ziyada, which separates the sanctuary from the street. Together the mosque and its ziyadas form a square of about 162 metres per side.

Decoration

The arches are framed by bands of carved stucco with vine and geometric patterns in the bevelled style developed at Samarra. The windows are filled with stucco grilles, several of them later replacements. Beneath the ceiling of the arcades runs a long wooden frieze carved with verses of the Quran, traditionally said to contain about a fifth of the text.

The crenellations along the top of the walls, shaped like stylised figures, give the building its distinctive silhouette. The original mihrab, or prayer niche, was later redecorated, and five further flat mihrabs were added in later centuries.

The minaret and the Mamluk restoration

The minaret stands in the outer enclosure on the north-west side. Its outer spiral staircase recalls the Malwiya of Samarra, which Ibn Tulun knew from his youth. However, most of the present structure, with its square base, cylindrical middle stage and small domed top, dates from a restoration of 1296.

That restoration was ordered by the Mamluk sultan Husam al-Din Lajin. In 1293 he had been involved in the murder of Sultan al-Ashraf Khalil and had hidden in the then-neglected mosque, vowing to restore it if he survived. As sultan he rebuilt the minaret, added the domed ablution fountain that now stands in the centre of the courtyard and endowed the mosque with income. The original courtyard fountain had burned down in 986.

Later history

In 905 an Abbasid army reconquered Egypt and destroyed al-Qata’i, but the mosque was spared. When the Fatimids founded Cairo in 969, the mosque lay outside the new walled city, and the surrounding area later became part of Cairo’s growing urban fabric.

The mosque has been restored several times in the modern era. It forms part of Historic Cairo, inscribed as a UNESCO World Heritage site in 1979. Next to it stands the Gayer-Anderson Museum, housed in two Ottoman-era houses built against its outer wall.

Timeline

  • 835: Ahmad ibn Tulun is born in Baghdad.
  • 868: Ibn Tulun arrives in Egypt as deputy governor.
  • 870: He founds the new quarter of al-Qata’i.
  • c. 876: Construction of the mosque begins.
  • 879: The mosque is completed, according to its foundation inscription.
  • 884: Ibn Tulun dies.
  • 905: Abbasid forces destroy al-Qata’i but spare the mosque.
  • 1296: Sultan Lajin restores the mosque, rebuilds the minaret and adds the courtyard fountain.
  • 1979: The mosque is included in the UNESCO World Heritage site of Historic Cairo.

Why it matters

The Mosque of Ibn Tulun is the best surviving example in Egypt of the Abbasid architecture of Samarra. It records the moment when a provincial governor turned Egypt into a regional power, and it remains one of the most impressive and peaceful public spaces in Cairo.

Frequently asked questions

When was the Mosque of Ibn Tulun built?

It was built between about 876 and 879 by Ahmad ibn Tulun, the governor of Egypt. A foundation inscription in the mosque gives the date 265 of the Islamic calendar, corresponding to 879.

Is the Mosque of Ibn Tulun the oldest mosque in Cairo?

The Mosque of Amr ibn al-As in Fustat was founded earlier, in 641-642, but it has been rebuilt so many times that little of the original survives. Ibn Tulun's mosque is the oldest in the city to survive largely in its original form.

Why does the minaret have an outside staircase?

The spiral outer stair recalls the Malwiya minaret of Samarra, where Ibn Tulun grew up. The present minaret, however, largely dates from the Mamluk restoration of 1296 rather than the ninth century.

How big is the Mosque of Ibn Tulun?

The mosque and its outer enclosures (ziyadas) form a square of roughly 162 metres per side, covering about 2.6 hectares. Its open courtyard measures about 92 metres across.

Who restored the Mosque of Ibn Tulun?

The Mamluk sultan Husam al-Din Lajin restored it in 1296, adding the domed fountain in the courtyard and rebuilding the minaret. He had hidden in the abandoned mosque after taking part in the murder of Sultan al-Ashraf Khalil in 1293.

Sources and further reading

  • K. A. C. Creswell, A Short Account of Early Muslim Architecture (revised by James W. Allan, 1989)
  • Doris Behrens-Abouseif, Islamic Architecture in Cairo: An Introduction (E. J. Brill, 1989)
  • Encyclopaedia Britannica, "Mosque of Ibn Tulun"
  • UNESCO World Heritage Centre, "Historic Cairo"

Cite this article

“Mosque of Ibn Tulun: Cairo's Oldest Intact Mosque (876-879).” Chronicle, https://chronicle.bigworldlist.com/articles/mosque-of-ibn-tulun-cairo/.