The Messenger of Allah ﷺ said, "A prayer in my mosque is better than a thousand prayers in any other, except for the Sacred Mosque."
حدثنا موسى بن داود حدثنا عبد الله بن عمر عن نافع
قال رسول الله ﷺ صلاة في مسجدي أفضل من ألف صلاة فيما سواه إلا المسجد الحرام
Its isnad is sahih. Abdullah bin Umar here is al-Umari, and the hadith is a repetition of 5155.