The Prophet ﷺ said, "A prayer in this mosque of mine is better than a thousand prayers in any other mosque, except for the Sacred Mosque."
عن النبي ﷺ قال: صلاة في مسجدي هذا أفضل من ألف صلاة فيما سواه إلا المسجد الحرام.
Muslim narrated it in the chapter on Hajj (1395), from the hadith of Ubaydullah, who said, "Nafi informed me, from Ibn Umar," and he related something similar.