Hadithcore
Mishkat al-Masabih, 721, 722

Buraida reported God's Messenger as saying, “Announce to those who make a practice of walking to mosques during the times of darkness the good news that they will have complete light on the day of resurrection. Tirmidhi and Abu Dawud transmitted it, and Ibn Majah transmitted it from Sahl b. Sa'd and Anas.

وَعَنْ بُرَيْدَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «بَشِّرِ الْمَشَّائِينَ فِي الظُّلَمِ إِلَى الْمَسَاجِدِ بِالنُّورِ التَّامِّ يَوْمَ الْقِيَامَةِ» . رَوَاهُ التِّرْمِذِيّ وَأَبُو دَاوُد وَرَوَاهُ ابْنُ مَاجَهْ عَنْ سَهْلِ بْنِ سَعْدٍ وَأنس

References1 variant
In-Book Reference
Book 4, Hadith 151