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."

Nasai 698

Sahih

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

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

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

النسائي 698صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Mosques
Chapter
Masjid that was founded on piety
Numbering
Darussalam 698
Nasai 698