Al-Masjid al-Aqsa (in Jerusalem) was the first of the two qiblahs, and is one of the three mosques to which people may travel for the purpose of worship. And it was said that it was built by Sulaymaan (peace be upon him), as stated in Sunan al-Nasaa’i (693) and classed as saheeh by al-Albaani in Saheeh al-Nasaa’i. And it was said that it existed before Sulaymaan (peace be upon him) and that Sulaymaan rebuilt it; this is based on the evidence narrated in al-Saheehayn from Abu Dharr (may Allaah be pleased with him) who said: “I said, ‘O Messenger of Allaah, which mosque was built on earth first?’ He said, ‘Al-Masjid al-Haraam [in Makkah].’ I said, ‘Then which?’ He said, ‘Al-Masjid al-Aqsa.’ I said, ‘How much time was there between them?’ He said, ‘Forty years. So wherever you are when the time for prayer comes, pray, for that is the best thing to do.’”
Narrated by al-Bukhaari, 3366; Muslim, 520.
The Prophet (peace and blessings of Allaah be upon him) was taken on the Night Journey (isra’) to Bayt al-Maqdis (Jerusalem), where he led the Prophets in prayer in this blessed mosque.
Allaah says (interpretation of the meaning):
“Glorified (and Exalted) be He (Allaah) [above all that (evil) they associate with Him]
Who took His slave (Muhammad) for a journey by night from Al-Masjid Al-Haraam (at Makkah) to Al-Masjid Al-Aqsaa (in Jerusalem), the neighbourhood whereof We have blessed, in order that We might show him (Muhammad) of Our Ayaat (proofs, evidences, lessons, signs, etc.). Verily, He is the All-Hearer, the All-Seer”
The Dome of the Rock was built by the caliph ‘Abd al-Malik ibn Marwaan in 72 AH.
It says in al-Mawsoo’ah al-Filasteeniyyah (4/203): “The name al-Masjid al-Aqsa was historically applied to the entire sanctuary (al-Haram al-Shareef) and the buildings in it, the most important of which is the Dome of the Rock which was built by ‘Abd al-Malik ibn Marwaan in 72 AH/691 CE, which is regarded as one of the greatest Islamic historical buildings. But today the name is applied to the great mosque which is situated in the southern part of the sanctuary plateau.”
It also says in al-Mawsoo’ah (3/23): “The Dome of the Rock is situated in the middle of the plateau of al-Masjid al-Aqsa, which is in the southeastern part of the city of al-Quds (Jerusalem). It is a spacious rectangular plateau which measures 480 meters from north to south, and 300 meters from east to west. This plateau occupies approximately one-fifth of the area of the Old City of Jerusalem.
The mosque which is the place of prayer is not the Dome of the Rock, but because pictures of the Dome are so widespread, many Muslims think when they see it that this is the mosque. This is not in fact the case. The Mosque is situated in the southern portion of the plateau, and the Dome is built on the raised rock that is situated in the middle of the plateau.
We have already seen above that the name of the mosque was historically applied to the whole plateau.
This is supported by the words of Shaykh al-Islam Ibn Taymiyah (may Allaah have mercy on him) in Majmoo’at al-Rasaa’il al-Kubra, 2/61: “Al-Masjid al-Aqsa is the name for the whole of the place of worship built by Sulaymaan (peace be upon him). Some people started to give the name of al-Aqsa to the prayer-place which was built by ‘Umar ibn al-Khattaab in front of it. Praying in this prayer-place which ‘Umar built for the Muslims is better than praying in the rest of the mosque, because when ‘Umar conquered Jerusalem there was a huge garbage dump on the rock, since the Christians wanted to show their scorn for the place towards which the Jews used to pray. So ‘Umar issued orders that the filth be removed and he said to Ka’b: ‘Where do you think we should build a place of prayer for the Muslims?’ He said, ‘Behind the rock.’ He said, ‘O you son of a Jewish woman! Are influenced by your Jewish ideas! Rather I will build it in front of it.’
Hence when the imams of this ummah entered the mosque, they would go and pray in the prayer-place that was built by ‘Umar. With regard to the Rock, neither ‘Umar nor any of the Sahaabah prayed there, and there was no dome over it during the time of the Rightly-Guided Caliphs. It was open to the sky during the caliphate of ‘Umar, ‘Uthmaan, ‘Ali, Mu’aawiyah, Yazeed and Marwaan… The scholars among the Sahaabah and those who followed them in truth did not venerate the rock because it was an abrogated qiblah… rather it was venerated by the Jews and some of the Christians.”
‘Umar denounced Ka’b al-Ahbaar and called him the son of a Jewish woman because Ka’b had been a Jewish scholar and rabbi, so when he suggested to ‘Umar that he should build the mosque behind the rock, that was out of respect for the rock so that the Muslims would face it when praying, and veneration of the rock was part of the religion of the Jews, not the religion of the Muslims.
The Muslims’ fondness for the picture of the Dome may be because of the beauty of this building, but this does not excuse them from the resulting mistake of not distinguishing between the Mosque and the buildings that surround it.
This may be one of the plots and tricks of the Jews, because of their veneration for the rock and their facing it in prayer. Or is may be in order to give importance to the Rock so that they can fulfil their desire to build the so-called Temple of Solomon on the ruins of al-Masjid al-Aqsa. This is by making the Muslims think that al-Masjid al-Aqsa is the Dome of the Rock, so that if the Jews start to destroy al-Masjid al-Aqsa and the Muslims denounce them for that, they will tell them, “Al-Masjid al-Aqsa is fine,” and will show them a picture of the Dome of the Rock. Thus they will achieve their aims and be safe from the Muslims’ criticism.
We ask Allaah to restore the Muslims’ power and glory, and to cleanse al-Masjid al-Aqsa of the brothers of the monkeys and pigs, for Allaah has full power and control over His Affairs, but most of men know not (cf. Yoosuf 12:21).
And Allaah knows best.