The Prophet ﷺ said, "Give glad tidings to those who walk through the darkness to the mosques, that they will have complete light on the Day of Resurrection."
حدثنا عباس العنبري حدثنا يحيى بن كثير أبو غسان العنبري عن إسمعيل الكحال عن عبد الله بن أوس الخزاعي
عن النبي ﷺ قال بشر المشائين في الظلم إلى المساجد بالنور التام يوم القيامة
[Sahih] Abu Dawud also narrated it in the Book of Prayer, chapter on what has been said about walking to prayer in darkness, hadith 561, from the hadith of Ismail al-Kahhal, through this same route. It has corroborating narrations in Ibn Majah, hadith 780 and 781, and Ibn Khuzayma, hadith 1498, and others besides them.