(8) The Book of Virtues
كتاب الفضائل
(189) Chapter: The Excellence of Proceeding towards the Mosque Walking
(189) - باب فضل المشي إلى المساجد‏:‏
Riyad as-Salihin 1053 
Abu Hurairah (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "He who goes to the mosque in the morning or in the evening, Allah prepares for him a place in Jannah whenever he goes to the mosque in the morning and returns from it in the evening."

[Al-Bukhari and Muslim].

عن أبي هريرة رضي الله عنه أن النبي صلى الله عليه وسلم قال‏:‏ ‏ "‏ من غدا إلى المسجد أو راح، أعد الله له في الجنة نزلا كلما غدا أو راح‏"‏‏.‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1053
In-book reference : Book 8, Hadith 63