Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "A prayer in my mosque is better than a thousand prayers anywhere else except the Sacred Mosque, and a prayer in the Sacred Mosque is better than a hundred thousand prayers anywhere else."

Azami 10609

Sahih

عن جابر

أن رسول الله ﷺ قال: صلاة في مسجدي أفضل من ألف صلاة فيما سواه إلا المسجد الحرام، وصلاة في المسجد الحرام أفضل من مائة ألف صلاة فيما سواه.

الأعظمي 10609صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the lands
Chapter
Virtue of Makkah and reports about it
Section
Virtue of prayer in Masjid al-Haram
Numbering
Jami al-Kamil 10609 (2nd edition)
Azami 10609