Sunnah.com : Book 9, Hadith 70
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وعن أبي سعيد الخدري رضي الله عنه عن النبي صلى الله عليه وسلم قال: إذا رأيتم الرجل يعتاد المساجد فاشهدوا له بالإيمان، قال الله عز وجل {إنما يعمر مساجد الله من آمن بالله واليوم الآخر} ((الآية. رواه الترمذي وقال حديث حسن))."
Abu Sa'id Al-Khudri (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "When you see a man frequenting the mosque, testify that he is a believer because Allah says: 'Allah's mosques are visited only by those who believe in Allah and the Last Day."' [At-Tirmidhi].
Full reference and source
Sunnah.com : Book 9, Hadith 70 Arabic/English book : Book 9, Hadith 1060
View source on Sunnah.com (opens in a new tab)