Abu Salama bin Abdul-Rahman bin Awf reported,

Abdul-Rahman bin Abu Saeed Khudri passed by me, and I said to him, "How did you hear your father describe the mosque founded upon piety?"He replied, "My father said, 'I came to the Messenger of Allah ﷺ while he was in the home of one of his wives, and I asked, Messenger of Allah, which of the two mosques is the one founded upon piety? He took a handful of pebbles, struck the ground with them, and said, It is this mosque of yours,' meaning the mosque of Madinah."I said, "I bear witness that I heard your father describe it just like that."

Azami 12515

Sahih

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

مر بي عبد الرحمن بن أبي سعيد الخدري، قال: قلت له: كيف سمعت أباك يذكر في المسجد الذي أسس على التقوى؟ قال: قال أبي: دخلت على رسول الله ﷺ في بيت بعض نسائه، فقلت: يا رسول الله! أي المسجدين الذي أسس على التقوى، قال: فأخذ كفا من حصباء، فضرب به الأرض، ثم قال: هو مسجدكم هذا- لمسجد المدينة- قال: فقلت: أشهد أني سمعت أباك هكذا يذكره.

الأعظمي 12515صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And those who took a masjid for causing harm and disbelief and division among the believers and as a station for whoever had warred against Allah and His Messenger before. And they will surely swear, we intended only the best. And Allah testifies that they are liars. Do not stand in it ever. A masjid founded on righteousness from the first day is more worthy for you to stand in. Within it are men who love to purify themselves, and Allah loves those who purify themselves"
Numbering
Jami al-Kamil 12515 (2nd edition)
Azami 12515