The Book of Virtues
Riyad as-Salihin #381
كتاب الفضائل
وعن أبي سعيد الخدري رضي الله عنه عن النبي صلى الله عليه وسلم قال: "إذا رأيتم الرجل يعتاد المساجد فاشهدوا له بالإيمان، قال الله عز وجل {إنما يعمر مساجد الله من آمن بالله واليوم الآخر} ((الآية. رواه الترمذي وقال حديث حسن)).
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.”'.
وعن أبي سعيد الخدري رضي الله عنه عن النبي صلى الله عليه وسلم قال: "إذا رأيتم الرجل يعتاد المساجد فاشهدوا له بالإيمان، قال الله عز وجل {إنما يعمر مساجد الله من آمن بالله واليوم الآخر} ((الآية. رواه الترمذي وقال حديث حسن)).
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."'.
— Riyad as-Salihin, Hadith 381