Sunan Ibn Majah, Book 4, Hadith 47 (Ibn Majah 781)

It was narrated that Anas bin Malik said:

"The Messenger of Allah said: 'Give glad tidings to those who walk to the mosques in the dark, of perfect light on the Day of Resurrection.'"