(5) باب صفة الحج ودخول مكة
Ibn Az-Zubair (RAA) narrated that the Messenger of Allah (ﷺ) said:
"Offering prayer in my mosque (in Madinah) is better than one thousand prayers elsewhere, save for those offered prayer in al-Masjid al-Haram (in Makkah). And prayer offered in al-Masjid al-Haram is better than prayer offered in my mosque by one hundred prayers." Related by Ahmad and Ibn Hibban graded it as Sahih.
Reference: Bulugh al-Maram 779
In-book reference: Book 6, Hadith 71
English translation: Book 6, Hadith 798