Narrated Abu Huraira: The Prophet (ﷺ) said, "Do not set out on a (religious) journey except for three Mosques : Al-Masjid-AI-Haram, the Masjid of Allah's Messenger (ﷺ) , and the Masjid Al-Aqsa."
Sahih al Bukhari
Narrated Abu Dharr : I said : "O Allah's Messenger (ﷺ)! Which mosque was first built on the surface of the earth?" He said, "Al- Masjid-ul-Haram."
" I said, "Which was built next?"
He replied "The masjid of Al-Aqsa ( in Jerusalem) ."
I said, "What was the period of construction between the two?"
He said, "Forty years."
He added, "Wherever (you may be) the prayer time becomes due, perform the prayer there, for the best thing is to do so (to offer the prayers in time).
Sahih al Bukhari
Narrated Al-Bara : We prayed along with the Prophet (ﷺ) facing Jerusalem (masjid Al Aqsa) for sixteen or seventeen months. Then Allah ordered him to turn his face towards the Qibla :--
"And from whence-so-ever you start forth (for prayers) turn your face in the direction of Masjid-ul Haram.." (Al Baqarah 149)
Sahih al Bukhari
Narrated Abu Huraira: Allah's Messenger (ﷺ) said, "One prayer in my Masjid is better than one thousand prayers in any other masjid, except Al-Masjid-AI-Haram."
Sahih al Bukhari