Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) narrates: There was a dispute between a man from Banu Amr bin Awf and a man from Banu Khudrah regarding the mosque which was founded on piety. The Khudri man said: It refers to the mosque of the Prophet (peace be upon him). The Amri man said: It refers to the mosque of Quba. The narrator states: Both of them went out and presented themselves before the Prophet (peace be upon him) and asked him about this matter. The Prophet (peace be upon him) said: It refers to this mosque, it refers to the mosque of Allah’s Messenger, and there is much goodness in it.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1626
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - انظر الحديث (1602). تنبيه!! رقم (1602) = (1604) من «طبعة المؤسسة». - مدخل بيانات الشاملة -.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح، رجاله رجال الشيخين ما عدا أنيس بن أبي يحيى، وهو ثقة، وأبوه: اسمه سمعان.