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].
App reference: Book 9, Hadith 63
Arabic/English book reference: Book 9, Hadith 1053