Why is the Aqsa Mosque in Jerusalem important for Muslims?

The Prophet, peace be upon him, was asked which mosque was the first to be built, and his answer was: “The Sacred Mosque” in Makkah. His interlocutor then asked him which was the second mosque to be built, and he answered: “The Aqsa Mosque” in Jerusalem. A further question asked about the time gap between building them, and the Prophet, peace be upon him, said: “Forty years.” It is well known that the two prophets built the Sacred Mosque, or the Ka’abah: Abraham and his son Ishmael. The Aqsa Mosque was built by Abraham’s grandson, Prophet Yaqub, peace be upon them all.

To emphasize the unity of the divine faith, in all its forms and all periods of history, God took His final messenger, the Prophet Muhammad, peace be upon him, from Makkah to Jerusalem. There at the place of the Aqsa Mosque all past prophets were gathered, and he led them in a devotional prayer.

Thus, the Aqsa Mosque takes its position alongside the Sacred Mosque in Makkah and the Prophet’s Mosque in Madinah as the only three mosques built by prophets and to which people may travel to offer their worship. No special travel may be taken to pray in any other mosque on earth.