(94) باب فَضْلِ الصَّلاَةِ بِمَسْجِدَىْ مَكَّةَ وَالْمَدِينَةِ
Abu Huraira (Allah be pleased with him) narrated It directly from Allah's Apostle' (ﷺ) having said this:
A prayer in my mosque is a thousand times more excellent than a prayer in any other mosque, except Masjid al-Haram (Mosque of the Ka'ba).
Reference: Sahih Muslim 1394 a
In-book reference: Book 15, Hadith 578
USC-MSA web (English) reference(deprecated numbering scheme): Book 7, Hadith 3209