Abu Sa’id reported: The Messenger of Allah, peace and blessings be upon him, said, “If you see a man committed to the mosque, bear witness to his faith. Verily, Allah Almighty said: The mosques are only maintained by those who have faith in Allah and the Last Day, establish prayer and give charity.” (9:18)
Source: Sunan al-Tirmidhī 2617
Grade: Hasan (fair) according to Al-Tirmidhi
عَنْ أَبِي سَعِيدٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا رَأَيْتُمْ الرَّجُلَ يَتَعَاهَدُ الْمَسْجِدَ فَاشْهَدُوا لَهُ بِالْإِيمَانِ فَإِنَّ اللَّهَ تَعَالَى يَقُولُ إِنَّمَا يَعْمُرُ مَسَاجِدَ اللَّهِ مَنْ آمَنَ بِاللَّهِ وَالْيَوْمِ الْآخِرِ وَأَقَامَ الصَّلَاةَ وَآتَى الزَّكَاةَ
2617 سنن الترمذي كتاب الإيمان باب ما جاء في حرمة الصلاة
2617 المحدث الترمذي خلاصة حكم المحدث حسن غريب في سنن الترمذي