Abu Saeed Khudri reported,

Two men disputed in the mosque about the mosque which was founded on piety from the very first day. One man said, "It is the mosque of Quba."The other said, "It is the mosque of the Messenger of Allah ﷺ."The Messenger of Allah ﷺ said, "It is this mosque of mine."

Tirmidhi 3099

Sahih

حدثنا قتيبة حدثنا الليث عن عمران بن أبي أنس عن عبد الرحمن بن أبي سعيد

عن أبي سعيد الخدري أنه قال

تمارى رجلان في المسجد الذي أسس على التقوى من أول يوم فقال رجل هو مسجد قباء وقال الآخر هو مسجد رسول الله ﷺ فقال رسول الله ﷺ هو مسجدي هذا

الترمذي 3099صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Tawbah
Numbering
Darussalam 3099
Tirmidhi 3099