The History of Masjid al-Aqsa and Jerusalem: A Complete Guide
Discover the rich history of Masjid al-Aqsa and Jerusalem, from ancient civilizations and the Prophet Muhammad’s ﷺ Night Journey to Salahuddin Ayyubi, Islamic architecture, and the sanctuary’s enduring spiritual significance.

The Sacred Sanctuary: Masjid al-Aqsa and the Long History of Jerusalem
Qur'anic Verse: سُبْحَانَ الَّذِي أَسْرَىٰ بِعَبْدِهِ لَيْلًا مِّنَ الْمَسْجِدِ الْحَرَامِ إِلَى الْمَسْجِدِ الْأَقْصَى الَّذِي بَارَكْنَا حَوْلَهُ لِنُرِيَهُ مِنْ آيَاتِنَا
"Glory be to Him who took His servant by night from al-Masjid al-Haram to al-Masjid al-Aqsa, whose surroundings We have blessed, that We might show him of Our signs."
(Reference: Surah al-Isra, 17:1)
Introduction
A City That Carries the Memory of Prophets
Few cities carry as much history, faith, and emotion as Jerusalem. For thousands of years it has been a home to successive civilizations and a sacred place for Muslims, Christians, and Jews. Its gates and stones preserve the memory of prophets, empires, devotion, and conflict.
At the heart of Jerusalem's Islamic heritage stands Masjid al-Aqsa, the third holiest sanctuary in Islam after Masjid al-Haram in Makkah and Masjid al-Nabawi in Madinah. Its story is inseparable from the story of the city itself.
Ancient Jerusalem
A Settlement Older Than Empires
Archaeological evidence shows human settlement in and around Jerusalem during the Bronze Age, long before Islam emerged in Arabia. Its position in the central highlands of Palestine made it a place of strategic and spiritual importance.
Over the centuries, the city passed under the Israelite and Judean kingdoms, the Babylonians, the Persians, the Hellenistic rulers, the Romans, and the Byzantines. Each left a layer on its religious, political, and cultural identity.
Why Jerusalem Became Sacred
In Jewish tradition, the city is linked with the ancient Temples. For Christians, it holds a central place in the life of Jesus. For Muslims, its significance is bound to the prophets, to the blessed land mentioned in the Qur'an, and to the Night Journey of the Prophet Muhammad ﷺ.
Masjid al-Aqsa in the Qur'an and Prophetic Tradition
The Night Journey and Ascension
The Qur'anic account of Al-Isra links Makkah and Jerusalem in a single sacred journey. According to Islamic tradition, the Prophet ﷺ continued from Jerusalem to Al-Mi'raj, the Ascension, one of the most profound moments in Islamic spiritual history.
Prophetic narrations also describe the Prophet ﷺ leading the earlier prophets in prayer during this journey. For Muslims, this scene expresses the unity of the prophetic message and the shared foundation of the messengers' faith.
The Sanctity of the Three Mosques
Hadith: لَا تُشَدُّ الرِّحَالُ إِلَّا إِلَى ثَلَاثَةِ مَسَاجِدَ: الْمَسْجِدِ الْحَرَامِ، وَمَسْجِدِي هَذَا، وَالْمَسْجِدِ الْأَقْصَى
"Journeys should not be undertaken except to three mosques: the Masjid al-Haram, this mosque of mine, and al-Masjid al-Aqsa."
(Reference: Sahih al-Bukhari, Hadith 1189; Sahih Muslim, Hadith 1397)
This hadith places Masjid al-Aqsa among the few sanctuaries for which spiritual travel is especially recommended.
A Sanctuary, Not Merely a Building
The name Masjid al-Aqsa refers to the entire sacred compound in Jerusalem, covering roughly 144,000 square metres. It includes the Dome of the Rock and the southern congregational mosque, commonly called the Qibli Mosque. These structures are architecturally distinct, yet together they form a single sanctuary that has been central to Muslim devotion for centuries.
The Arrival of Islam and the Umayyad Era
The City Under Muslim Rule
Around 637–638 CE, during the caliphate of Umar ibn al-Khattab (may Allah be pleased with him), Jerusalem came under Muslim rule after the Byzantine period. Muslim historical accounts link Umar's name with the early arrangements for worship at the site.
The Dome of the Rock
The Umayyad period gave Jerusalem some of its most enduring symbols. The Dome of the Rock, commissioned by Caliph Abd al-Malik and completed around 691–692 CE, remains a landmark of early Islamic architecture. Its golden dome, intricate mosaics, and Qur'anic inscriptions reflect the confidence and artistry of a young civilization.
The southern congregational mosque also developed during this era. It was rebuilt several times after earthquakes, and its successive restorations shaped the architectural landscape visitors recognize today.
Jerusalem Under Successive Muslim Dynasties
After the Umayyads, Jerusalem passed through Abbasid, Fatimid, and Seljuk rule. Political authority shifted repeatedly, and the city endured conflict and natural disaster. Its religious importance, however, remained firmly established.
Rulers and patrons supported the maintenance of sacred buildings, the restoration of damaged structures, and the founding of schools and public works. Scholars and pilgrims kept the city connected to the wider Muslim world.
Jerusalem was never exclusively Muslim during these centuries. Jewish and Christian communities maintained their own religious and cultural ties to the city, and their continued presence is part of its story.
The Crusades and the Recovery Under Salahuddin Ayyubi
The Crusader Conquest
In 1099, Crusader forces captured Jerusalem during the First Crusade. The conquest brought great suffering and transformed the city's religious life. The Al-Aqsa building was adapted for Crusader use, and the Dome of the Rock was converted for Christian worship.
Crusader control lasted almost nine decades, a period shaped by warfare and religious conflict that affected all the city's inhabitants.
The Victory of 1187
In 1187, Salahuddin Ayyubi (known in the West as Saladin) defeated the Crusader army at the Battle of Hattin and then regained Jerusalem. His rule restored Islamic worship and institutions to the sanctuary.
For Muslims, this event is remembered as the recovery of a sacred city, not merely as a military victory. The wider history of the Crusades, however, also reminds us of the human cost of religious warfare on every side.
The Mamluk and Ottoman Periods
Learning and Architecture Under the Mamluks
The Mamluk rulers established and supported schools, religious endowments, fountains, and public buildings. These works helped preserve Jerusalem as a centre of learning and pilgrimage.
Four Centuries of Ottoman Rule
In 1517, Jerusalem came under Ottoman rule, which lasted about four centuries. The most visible legacy is the Old City walls, rebuilt under Sultan Suleiman the Magnificent in the sixteenth century. These walls and their gates remain among the city's most recognizable landmarks.
Ottoman patrons also repaired and decorated important sacred sites, helping preserve buildings that had endured centuries of change. Today, Early Islamic monuments stand beside structures from Mamluk, Ottoman, Christian, and Jewish traditions. Each generation added a layer to a city whose heritage exceeds any single era.
Modern Jerusalem and the Challenges Facing the Sanctuary
Political Transformation
The modern history of Jerusalem has been shaped by the end of Ottoman rule, the British Mandate, the establishment of Israel in 1948, and the Arab-Israeli conflict. In 1967, Israel captured East Jerusalem, including the Old City and the Masjid al-Aqsa compound, during the Six-Day War. The city's political status and the future of its holy places remain deeply contested.
Custodianship and Access
The Islamic Waqf administers the sanctuary's Islamic religious affairs, and the Hashemite custodianship of Jordan plays an important role in the maintenance and protection of Muslim holy sites in Jerusalem. Access restrictions, security measures, archaeological work, and disputes over administration have repeatedly generated tension.
For Muslims, Masjid al-Aqsa is more than a place of worship. It is a living connection to Palestinian history, identity, and heritage.
International Recognition
In 1981, UNESCO inscribed the Old City of Jerusalem and its Walls on the World Heritage List, and in 1982 the site was added to the List of World Heritage in Danger. These designations recognize that Jerusalem's monuments belong to the shared inheritance of humanity. Protecting them requires more than conserving stone. It requires respect for religious traditions, cultural identity, and access to sacred places.
The Enduring Spiritual Legacy
Despite centuries of conquest, conflict, and restoration, Masjid al-Aqsa remains a centre of devotion. Its courtyards, gates, mosques, and inscriptions carry the prayers and scholarship of generations.
The sanctuary also links Jerusalem with Makkah and Madinah, forming a single narrative of prophethood and worship across the three holy cities of Islam.
Preserving this legacy calls for accurate historical research, responsible conservation, and the transmission of knowledge to the next generation. To protect the sanctuary is to protect its buildings, its traditions, and the memory that gives it meaning.
Conclusion
The story of Masjid al-Aqsa and Jerusalem spans ancient civilizations, prophetic traditions, extraordinary architecture, political struggle, and enduring faith. From the Qur'anic account of the Night Journey to the Umayyad Dome of the Rock and Salahuddin's recovery of the city, each era has added to the sanctuary's place in world history.
Jerusalem reminds us that sacred places carry the memories, hopes, and identities of millions. To preserve them is to honor the generations who gave them meaning.
References and Sources
- The Holy Qur'an: Surah al-Isra, 17:1.
- Sahih al-Bukhari, Hadith 1189; Sahih Muslim, Hadith 1397.
- UNESCO World Heritage Centre, records for the Old City of Jerusalem and its Walls (1981; List of World Heritage in Danger, 1982).
- Historical accounts of the Islamic conquest of Jerusalem, the Umayyad construction of the Dome of the Rock, the Crusader period, and the Ayyubid and Ottoman eras, as recorded in classical and modern scholarship.
Please verify the hadith numbers against your own editions, and check the dates and architectural details against current academic and UNESCO sources before publishing.
Related Islamic Products
View shopLost Islamic History
Firas Alkhateeb
A broad narrative introduction to Muslim societies, institutions, and intellectual history across regions and periods.
Black Muslims in History
The Sealed Nectar
Safi-ur-Rahman al-Mubarakpuri
A popular chronological biography of Prophet Muhammad ﷺ, from the Arabian setting before Islam through the formation of the early Muslim community.
Muslims Who Changed the World
A popular-history title about notable Muslim figures; the exact author and contents depend on the edition linked by the retailer.
As an Amazon Associate I earn from qualifying purchases.