عَنْ اِبْنِ عُمَرَ رَضِيَ اَللَّهُ عَنْهُمَا, { عَنْ رَسُولِ اَللَّهِ ‏- صلى الله عليه وسلم ‏-أَنَّهُ أَدْرَكَ عُمَرَ بْنَ اَلْخَطَّابِ فِي رَكْبٍ, وَعُمَرَ يَحْلِفُ بِأَبِيهِ, فَنَادَاهُمْ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-"أَلَا إِنَّ اَللَّهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ, فَمَنْ كَانَ حَالِفاً فَلْيَحْلِفْ بِاَللَّهِ, أَوْ لِيَصْمُتْ"} مُتَّفَقٌ عَلَيْهِ 1‏ .‏‏1 ‏- صحيح.‏ رواه البخاري ( 6646 )‏، ومسلم ( 1646 )‏ ( 3 )‏.‏
Translation
Narrated Abu Sa'id al-Khudri (RA)

The Prophet (ﷺ) said: "No (religious) journey is to be undertaken except to (pray in) the three mosques: The Sacred Mosque (Makkah), the Aqsa Mosque (Jerusalem), and this Mosque of mine (al-Madinah)."[Agreed upon, and the wording is al-Bukhari's].

Comment

Hadith Commentary

This noble hadith establishes the exclusive merit of three mosques for which travel is specifically recommended: Masjid al-Haram in Makkah, Masjid al-Aqsa in Jerusalem, and the Prophet's Mosque in Madinah. These three mosques hold unique spiritual status in Islam, with prayers in them multiplied in reward.

Scholarly Interpretation

Imam Ibn Hajar al-Asqalani explains in Fath al-Bari that this hadith indicates the superiority of these three mosques over all others. The Sacred Mosque in Makkah holds primacy as the first house established for mankind. Masjid al-Aqsa was the first qibla and the site of the Prophet's Night Journey. The Prophet's Mosque contains his blessed grave and was established through his direct guidance.

Scholars clarify that this hadith does not prohibit travel to other mosques for learning, visiting relatives, or trade. Rather, it specifies that religious travel specifically for prayer is only recommended to these three sacred sites, emphasizing their unique spiritual status in Islamic tradition.

Legal Rulings

The majority of scholars hold that this hadith establishes a recommended (mustahabb) journey rather than an obligatory one. The Hanafi and Maliki schools emphasize that while these three mosques have special merit, visiting other mosques for prayer remains permissible and rewarded, though without the specific excellence mentioned here.