The Prophet ﷺ said, "Whoever goes to the mosque in the morning and in the evening, Allah prepares for him his lodging in Paradise each time he goes in the morning and in the evening."
عن النبي ﷺ قال: من غدا إلى المسجد وراح أعد الله له نزله من الجنة كلما غدا وراح.
Bukhari narrated it in the Book of Adhan (662), and Muslim in the Book of Mosques (669), both by way of Yazid bin Harun, who said, Muhammad bin Mutarrif informed us, from Zayd bin Aslam, from Ata bin Yasar, from Abu Hurairah, and the wording given is Bukhari's, while Muslim's wording has, "as accommodation in Paradise." The nuzul is what is prepared for a guest upon his arrival.