The Messenger of Allah ﷺ said, "A prayer in this mosque of mine is better than two thousand prayers in any other mosque, except the Sacred Mosque."
حدثنا يحيى عن عبيد الله أخبرنا نافع
قال رسول الله ﷺ صلاة في مسجدي أفضل من ألفي صلاة فيما سواه إلا المسجد الحرام
Its isnad is sahih. Muslim (1:392) also related it through Yahya Qattan with this same isnad. He likewise related it through other chains of transmission from Nafi, and Nasai and Ibn Majah also related it, as noted in the commentary on Tirmidhi (1:270).