كتاب الحج
15  
The Book of Pilgrimage
(94)
Chapter: The virtue of praying in the Masajid of Makkah and Al-Madinah
(94)
باب فَضْلِ الصَّلاَةِ بِمَسْجِدَىْ مَكَّةَ وَالْمَدِينَةِ ‏‏
Sahih Muslim 1394 b

Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:

Prayer in my mosque is more excellent than a thousand prayers observed in other mosques except the Masjid al- Haram.
حَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ، وَعَبْدُ بْنُ حُمَيْدٍ، قَالَ عَبْدٌ أَخْبَرَنَا وَقَالَ ابْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ صَلاَةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلاَةٍ فِي غَيْرِهِ مِنَ الْمَسَاجِدِ إِلاَّ الْمَسْجِدَ الْحَرَامَ ‏"‏ ‏.‏
Reference : Sahih Muslim 1394b
In-book reference : Book 15, Hadith 579
USC-MSA web (English) reference : Book 7, Hadith 3210
  (deprecated numbering scheme)