The Prophet ﷺ said: Give good tidings to those who walk to the mosques in darkness for having a perfect light on the Day of Judgment. (Using translation from Abū Dāʾūd 561)
قَالَ رَسُولُ اللهِ ﷺ بَشِّرِ الْمَشَّائِينَ فِي الظُّلَمِ إِلَى الْمَسَاجِدِ بِالنُّورِ التَّامِّ يَوْمَ الْقِيَامَةِ