Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “Do not undertake a religious journey but to three mosques: the Sacred Mosque in Mecca, the Mosque of the Messenger of Allah, and the Furthest Mosque in Jerusalem.”
Source: Ṣaḥīḥ al-Bukhārī 1189, Ṣaḥīḥ Muslim 1397
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي هُرَيْرَةَ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَا تُشَدُّ الرِّحَالُ إِلَّا إِلَى ثَلَاثَةِ مَسَاجِدَ الْمَسْجِدِ الْحَرَامِ وَمَسْجِدِ الرَّسُولِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَمَسْجِدِ الْأَقْصَى
1189 صحيح البخاري كتاب فضل الصلاة في مسجد مكة والمدينة باب فضل الصلاة في مسجد مكة والمدينة
1397 صحيح مسلم كتاب الحج باب لا تشد الرحال إلا إلى ثلاثة مساجد