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. It is a repeat of 4838, and it has also already appeared with this same isnad at 4646.