Sahih Muslim, Book 15, Hadith 578 (Muslim 3343)

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).