History of Masjid Al-Aqsa: From Prophet Ibrahim to Today

7 min read

Few places on earth carry the spiritual weight of Al-Aqsa Mosque in Jerusalem. For Muslims, it is not merely an ancient building of stone and dome, but a living link to the prophets, to the Quran, and to one of the most miraculous nights in Islamic history. Understanding its history helps believers appreciate why this compound continues to hold such a central place in the hearts of over a billion Muslims worldwide as of 2026.

Quick Answer: What Is the History of Masjid Al-Aqsa?

Masjid Al-Aqsa refers to the sacred mosque compound in Jerusalem, known in Arabic as Bayt al-Maqdis and to the wider site as Al-Haram Al-Sharif. According to Islamic tradition, the site was first established by Prophet Ibrahim (peace be upon him), years after he built the Kaaba together with his son Ismail (peace be upon him). It later became central to the Prophet Muhammad's ﷺ Isra and Mi'raj (Night Journey and Ascension), and served as the first qibla, the direction Muslims faced in prayer before it was changed to the Kaaba. The mosque structure standing today was largely built by early Muslim rulers, notably under the Umayyad caliphate, and has been maintained, rebuilt, and expanded by Muslim custodians for over 1,300 years.

Golden Dome of the Rock rising above Jerusalem's ancient stone skyline at dusk

The Ancient Origins: Prophet Ibrahim and Prophetic Tradition

Islamic scholarship traces the sanctity of Al-Aqsa back to Prophet Ibrahim (peace be upon him). Tradition holds that it was first built by him years after he raised the Kaaba with his son Ismail (peace be upon him), establishing Jerusalem alongside Makkah as one of the earliest centers of monotheistic worship. Long before the Prophet Muhammad ﷺ, the site was associated with earlier prophets, including Dawud (David) and Sulayman (Solomon), peace be upon them, whose names remain deeply intertwined with the sacred history of Bayt al-Maqdis.

Muslims believe that throughout history, this land has been entrusted to successive communities of believers, and that its guardianship ultimately passed to the followers of Islam, who have remained its custodians ever since. This continuity of prophetic tradition is part of why Muslims regard the site with such reverence, alongside their devotion to the history of the Kaaba and Masjid al-Haram.

The First Qibla and the Isra and Mi'raj

Two events cement Al-Aqsa's place in Islamic memory. First, for approximately sixteen to seventeen months after the Hijrah to Madinah, Muslims prayed facing Jerusalem, making it the first qibla in Islam before Allah commanded the change toward the Kaaba, as described in Surah Al-Baqarah (2:144). You can read this verse and its context directly on Quran.com.

Second, and most significantly, Al-Aqsa is named in the Quran itself in Surah Al-Isra (17:1), which describes how Allah took His servant "by night from al-Masjid al-Haram to al-Masjid al-Aqsa" — meaning "the farthest mosque." This night journey, known as the Isra, was followed by the Mi'raj, the Prophet's ﷺ ascension through the heavens. Authentic hadith collections, including those found on Sunnah.com, record detailed accounts of this journey, describing how the Prophet ﷺ led the earlier prophets in prayer at Al-Aqsa before ascending. This single night elevated Jerusalem's mosque to a rank shared only by Makkah and Madinah.

Construction Under Muslim Rule

While the sanctity of the site predates Islam, the physical mosque structure recognized today took shape under early Muslim rule. Historical sources indicate that the current mosque building, located on the southern wall of the compound, was originally constructed by the fifth Umayyad caliph Abd al-Malik ibn Marwan (who reigned roughly 685–705 CE), or completed by his successor. This is the same caliph credited with commissioning the Dome of the Rock, the golden-domed shrine that sits at the heart of the wider compound.

It is worth clarifying a common point of confusion: the Dome of the Rock and Al-Aqsa Mosque are not the same structure. The Dome of the Rock is a shrine marking the rock from which the Prophet ﷺ is believed to have ascended, while the Qibli Mosque — the building with the silver-grey dome — is the primary congregational mosque referred to as "Al-Aqsa" in everyday usage, though the name technically applies to the entire 35-acre compound.

StructureBuilt ByPurpose
Qibli Mosque (Al-Aqsa Mosque)Umayyad Caliphate (Abd al-Malik or successor)Main congregational prayer hall
Dome of the RockCaliph Abd al-Malik ibn MarwanShrine commemorating the Mi'raj
Al-Haram Al-Sharif compoundSuccessive Muslim dynastiesEntire sacred enclosure housing both structures

Centuries of Rebuilding and Restoration

Since its Umayyad-era construction, the mosque has faced earthquakes, fires, and political changes across centuries — from Umayyad and Abbasid rule, through the Crusader period, to Ayyubid, Mamluk, and Ottoman restoration efforts, and into the modern era. Salahuddin Al-Ayyubi's recapture of Jerusalem in the 12th century is particularly remembered in Islamic history for restoring Muslim custodianship after a period of Crusader control, alongside significant renovation work on the mosque itself.

Interior view of an ornate mosque with arched columns and intricate architectural details

Each generation of Muslim rulers took responsibility for maintaining the compound, reflecting the broader Islamic principle that mosques belong to the entire ummah, not to any single dynasty or era. This same spirit of communal responsibility applies to worship anywhere, whether at Al-Aqsa, Masjid al-Haram, or a local mosque, and it is part of why understanding Islamic prayer times and practices remains a shared global concern for Muslims.

Al-Aqsa's Rank Among Islam's Holiest Sites

Al-Aqsa is widely regarded, based on authentic hadith, as the third holiest site in Islam, following Masjid al-Haram in Makkah and Masjid an-Nabawi in Madinah. Prayer performed there is considered to carry great spiritual reward, and many pilgrims performing Umrah or Hajj hope to also visit Jerusalem when circumstances allow, much as they prepare carefully using resources like a complete Umrah guide for beginners before their journey to the Hijaz.

For further authentic guidance on the rulings and virtues associated with visiting Al-Aqsa, resources such as IslamQA provide scholarly answers rooted in the Quran and Sunnah.

Common Questions Pilgrims Ask About Masjid Al-Aqsa

Did the Quran and Prophet Muhammad ﷺ place Al-Masjid Al-Aqsa in Jerusalem, or is this a later Islamic tradition? The Quran's mention of "al-Masjid al-Aqsa" in Surah Al-Isra (17:1) does not name Jerusalem explicitly, but authentic hadiths in Sahih al-Bukhari and Sahih Muslim record the Prophet ﷺ describing landmarks consistent with Jerusalem after his journey. This identification was affirmed by the Sahaba and has remained the unanimous scholarly position since Islam's earliest generations, not a later invention.

What are the hypothetical scenarios if Al-Aqsa is demolished? This remains a hypothetical with no basis in present reality. Islamic teaching discourages speculative fear-mongering and instead emphasizes protecting sacred sites through legitimate, peaceful means and sincere prayer. Historically, Al-Aqsa has endured earthquakes, fires, and political upheaval, and has consistently been restored by its Muslim custodians.

Who built Al-Aqsa Mosque first? Tradition attributes the site's earliest establishment to Prophet Ibrahim (peace be upon him). The mosque structure seen today was built centuries later under early Muslim rule.

Was Al-Aqsa the first qibla in Islam? Yes, Muslims prayed toward Jerusalem for roughly sixteen to seventeen months before the qibla changed to the Kaaba, as described in Surah Al-Baqarah (2:144).

Is Al-Aqsa Mosque the same as the Dome of the Rock? No, they are distinct structures within the same compound. The Dome of the Rock is a shrine, while the Qibli Mosque is the main prayer building commonly called "Al-Aqsa."

Why is Al-Aqsa significant in Islam? It is the third holiest site in Islam, the destination of the Prophet's Isra and Mi'raj, and the first qibla, making it deeply woven into Quranic and prophetic history.

Can non-Muslims visit Al-Aqsa Mosque? Access policies have varied historically and remain a matter of local administration; visitors should always follow current guidance from the site's Islamic custodians (the Waqf) regarding entry.

R

Reading Islam Editorial Team

Expert
General Islamic KnowledgeBA & MA levels in Islamic Studies

Our editorial team consists of passionate researchers, writers, and students of knowledge dedicated to providing accurate and accessible Islamic content.

Explore more

Continue Reading

Explore Makkah & Kaaba

Recommended Travel Resources

Advertisement

300 x 250

Share this article