History of Masjid al-Aqsa: From the Prophets to the Present Day

History of Masjid al-Aqsa: Islamic History, Significance & Timeline
Download

Masjid al-Aqsa holds a unique place in Islam. It is one of the three mosques specifically mentioned by the Prophet Muhammad (PBUH) in connection with undertaking a journey for worship. It was the destination of his Night Journey from Makkah, the first qiblah of the Muslim community, and a place associated with generations of prophets.

Allah says:

✥
“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, to show him some of Our signs.”
(Surah Al-Isra 17:1)
✥

The history of Masjid al-Aqsa therefore reaches far beyond the construction of a particular mosque building. It is part of the sacred history of Jerusalem and the legacy of the Prophets.

What Does "Al-Aqsa" Refer To?

The name is used in two ways. In its wider sense, al-Masjid al-Aqsa refers to the entire sanctuary, also known as al-Haram al-Sharif, an enclosure of roughly 144 dunams (about 14 hectares). In everyday usage, it also refers to the silver-domed, southern congregational mosque, often called the Qibli Mosque. The Golden Dome of the Rock is a separate building within the same compound. This article uses "Masjid al-Aqsa" for the sanctuary and "the Qibli Mosque" for the congregational building where the distinction matters.

The Earliest History of Masjid al-Aqsa

The exact identity of the first person who established Masjid al-Aqsa is not explicitly stated in the Qur'an or in an authentic hadith.

Abu Dharr (RA) asked the Prophet Muhammad (PBUH) which mosque was established first on earth. The Prophet (PBUH) replied that it was al-Masjid al-Haram. When Abu Dharr (RA) asked which came next, he replied, "al-Masjid al-Aqsa." When asked about the interval between them, the Prophet (PBUH) said:

✥
“Forty years.”
(Sahih al-Bukhari 3366)
✥

This hadith establishes the great antiquity of Masjid al-Aqsa but does not identify its original builder.

Some later scholars connected its earliest establishment with Adam (AS), but this should not be presented as an explicit teaching of the Qur'an or an authentic hadith. What can be stated with confidence is that Masjid al-Aqsa was established as a place of worship very early in human history.

Masjid al-Aqsa and the Prophets

Jerusalem and the surrounding blessed land were closely connected with the history of Ibrahim (AS), Ishaq (AS), Yaqub (AS), Dawud (AS), Sulayman (AS), Zakariyya (AS), Yahya (AS), and Isa (AS).

The Qur'an describes the land to which Ibrahim (AS) and Lut (AS) were delivered as blessed:

✥
“And we delivered him and Lot to the land which we had blessed for all peoples.”
(Surah Al-Anbiya 21:71)
✥

The Qur'an also describes Allah's blessing upon the land associated with Sulayman (AS):

✥
“And to Solomon we subjected the stormy wind, blowing by his command toward the land we had blessed.”
(Surah Al-Anbiya 21:81)
✥

Jerusalem consequently became part of a long Prophetic tradition in which worship of Allah was preserved through successive generations.

Sulayman (AS) and Bayt al-Maqdis

Although the first establishment of Masjid al-Aqsa cannot be definitively attributed to a particular Prophet from the Qur'an and sahih hadith, Sulayman (AS) is explicitly connected with the construction of Bayt al-Maqdis.

Abdullah ibn Amr (RA) narrated that when Sulayman ibn Dawud (AS) completed building Bayt al-Maqdis, he asked Allah for three things. Among them was that whoever came to the mosque intending only to pray there would leave free of sin.

The narration is recorded in Sunan an-Nasa'i 693.

This provides an important distinction: Sulayman (AS) is directly associated with building or completing Bayt al-Maqdis, but the authentic evidence does not establish him as its first-ever founder.

Masjid al-Aqsa and Isra and Mi'raj

The greatest event connecting Masjid al-Aqsa with the mission of Prophet Muhammad (PBUH) was Isra and Mi'raj.

Allah says:

✥
“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, to show him some of Our signs.”
(Surah Al-Isra 17:1)
✥

The Qur'an establishes the Night Journey from Makkah to al-Masjid al-Aqsa. The authentic hadith provides further details.

Anas ibn Malik (RA) narrated that the Prophet (PBUH) was brought by al-Buraq and taken to Bayt al-Maqdis. He entered the mosque and prayed two rak'ahs before his ascent through the heavens. — Sahih Muslim 162a

Other authentic narrations describe the Prophets being gathered for him and his leading them in prayer. Masjid al-Aqsa therefore became permanently connected to one of the greatest miracles in the life of Prophet Muhammad (PBUH).

The First Qiblah of Islam

Masjid al-Aqsa was also the first qiblah toward which the Muslims prayed.

After the migration to Madinah, the Muslim community continued facing Bayt al-Maqdis before Allah commanded the Prophet (PBUH) to turn toward al-Masjid al-Haram.

Allah says:

✥
“We have certainly seen the turning of your face toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face toward al-Masjid al-Haram.”
(Surah Al-Baqarah 2:144)
✥

The change of qiblah did not diminish the religious importance of Masjid al-Aqsa. Its history remained permanently connected with the earliest Muslim community and the revelation of Islamic law.

The Virtue of Masjid al-Aqsa

Masjid al-Aqsa is one of the three mosques specifically mentioned by the Prophet Muhammad (PBUH) in connection with undertaking a journey for worship.

Abu Hurairah (RA) narrated that the Prophet (PBUH) said:

✥
“Do not undertake a journey except to three mosques: al-Masjid al-Haram, the Mosque of the Messenger, and al-Masjid al-Aqsa.”
(Sahih al-Bukhari 1189)
✥

The hadith places Masjid al-Aqsa alongside al-Masjid al-Haram and the Prophet's Mosque in Madinah as a mosque possessing a special distinction in Islamic worship.

Jerusalem Under Muslim Rule

After the Prophet Muhammad (PBUH), Jerusalem remained an important city for the Muslim community.

In 638 CE, during the caliphate of Umar ibn al-Khattab (RA), Jerusalem came under Muslim rule. Islamic historical sources describe Umar (RA) visiting the city and establishing Muslim prayer in the area of the sanctuary.

The early Muslim period was followed by major architectural development under the Umayyads.

The Dome of the Rock, commissioned by Caliph Abd al-Malik and completed in 691 CE, became one of Jerusalem's most important monuments. The present congregational al-Aqsa Mosque also developed substantially during the Umayyad period, particularly under al-Walid ibn Abd al-Malik in the early eighth century.

It is important to distinguish these structures. The Dome of the Rock is not the same building as Al-Aqsa Mosque. Both stand within the larger sacred sanctuary commonly known as al-Haram al-Sharif or the al-Aqsa compound.

The Crusader Occupation

In 1099 CE, Crusader forces captured Jerusalem during the First Crusade.

The sacred buildings in the Haram were repurposed during the Crusader period. Al-Aqsa was used for purposes other than Muslim congregational worship, while the Dome of the Rock was also given a different function.

For Muslims, the loss of Jerusalem represented the loss of one of Islam's most sacred places.

The Muslim response developed over several decades. Nur al-Din Zangi and other Muslim leaders worked toward strengthening Muslim power in the region, eventually followed by Salahuddin al-Ayyubi.

Salahuddin al-Ayyubi and the Restoration of Jerusalem

On 2 October 1187 CE, after his victory over the Crusader forces, Salahuddin al-Ayyubi entered Jerusalem.

The sanctuary was restored to Muslim use. Historical accounts record that the Haram was cleansed and that Muslim prayer was re-established at al-Aqsa.

Salahuddin's restoration of Jerusalem became one of the defining episodes in the later history of Masjid al-Aqsa.

The Mamluks and Ottomans

After the Ayyubid period, Jerusalem came under Mamluk rule. The Mamluks invested heavily in the city, constructing schools, religious buildings, fountains, gates, and other institutions around the Haram.

In 1517, the Ottoman Empire took control of Jerusalem. Ottoman rulers maintained and renovated many of the city's Islamic monuments and continued the city's place within the wider Muslim world.

The Ottoman period lasted for approximately four centuries.

The Modern History of Masjid al-Aqsa

The First World War brought another major change. Ottoman rule ended, and Jerusalem came under British control.

In 1948, the war resulted in the division of Jerusalem. East Jerusalem, including the Old City and Masjid al-Aqsa, came under Jordanian control.

In 1967, during the Six-Day War, Israel captured East Jerusalem. The status of East Jerusalem remains internationally disputed, and the United Nations continues to regard it as occupied territory.

The administration of the Islamic holy site has remained associated with the Jerusalem Islamic Waqf under Jordanian custodianship, while Israeli authorities exercise security and access functions. These arrangements form part of the continuing status quo surrounding the holy site.

Why Is Masjid al-Aqsa Important to Muslims?

Masjid al-Aqsa is important to Muslims for several reasons that come directly from revelation and the life of the Prophet (PBUH):

  • It is named in the Qur'an. Allah describes it as the destination of the Night Journey and calls its surroundings blessed (Surah Al-Isra 17:1).
  • It was the first qiblah. Muslims prayed toward Bayt al-Maqdis before the direction was changed to the Ka'bah (Surah Al-Baqarah 2:144)
  • It is one of the three mosques for which a journey may be undertaken. The Prophet (PBUH) named it alongside al-Masjid al-Haram and the Prophet's Mosque (Sahih al-Bukhari 1189).
  • It is tied to Isra and Mi'raj. The Prophet (PBUH) prayed there and led the Prophets in prayer before his ascent (Sahih Muslim 162a, 172)
  • It is linked to the Prophets. It stands in the blessed land associated with Ibrahim, Lut, Sulayman, and many other Prophets (AS), and Sulayman (AS) is connected with the building of Bayt al-Maqdis (Sunan an-Nasa'i 693).
  • It carries the memory of the Muslim community. From Umar (RA) and the Umayyads to Salahuddin and the present day, Muslims have protected, restored, and prayed in it for centuries.

For these reasons, Muslims around the world hold Masjid al-Aqsa in deep reverence. Their love for it is rooted in faith, not in politics or nationality.

A Sacred Legacy:

The history of Masjid al-Aqsa cannot be reduced to one building or one period. Its story reaches from the earliest houses of worship through the Prophets of Allah, the Night Journey of Prophet Muhammad (PBUH), the first qiblah, the Rashidun period, the Umayyad architectural age, the Crusader occupation, Salahuddin's restoration, and the complex history of Jerusalem in the modern era.

Its enduring significance comes first from revelation. Allah called its surroundings blessed, and the Prophet Muhammad (PBUH) connected it directly with the history of worship on earth and with the miraculous journey of Isra and Mi'raj.

For Muslims, Masjid al-Aqsa therefore remains not merely an ancient monument but a living part of Islamic sacred history.