HAKIM 770:
from Qāl Rasūl —
[Machine] The Messenger of Allah ﷺ said, "When you see a man frequenting the mosque, bear witness to his faith." Allah, the Exalted, said: "Verily, those who attend to the mosques of Allah are those who believe in Allah and the Last Day." [Surah At-Tawbah: 18] This is a translation for the Egyptians. They did not differ in its accuracy and the truthfulness of its narrators, except that the two authentic scholars did not mention it. However, I have mentioned the statement regarding its authenticity in the previous explanation.
الحاكم ٧٧٠:
عن قال رسول —
قَالَ رَسُولُ اللَّهِ ﷺ «إِذَا رَأَيْتُمُ الرَّجُلَ يَعْتَادُ الْمَسْجِدَ فَاشْهَدُوا عَلَيْهِ بِالْإِيمَانِ» قَالَ اللَّهُ ﷻ {إِنَّمَا يَعْمُرُ مَسَاجِدَ اللَّهِ مَنْ آمَنَ بِاللَّهِ وَالْيَوْمِ الْآخِرِ} [التوبة 18] «» هَذِهِ تَرْجَمَةٌ لِلْمِصْرِيِّينَ لَمْ يَخْتَلِفُوا فِي صِحَّتِهَا وَصِدْقِ رُوَاتِهَا غَيْرَ أَنَّ شَيْخَيِ الصَّحِيحِ لَمْ يُخَرِّجَاهُ وَقَدْ سُقْتُ الْقَوْلَ فِي صِحَّتِهِ فِيمَا تَقَدَّمَ دراج كثير المناكير
hadithunlocked.com