Sunan an-Nasa'i, Book 8, Hadith 1 (Nasa'i 690)

It was narrated from 'Amr bin 'Abasah that the Messenger of Allah (ﷺ) said:

"Whoever builds a Masjid in which Allah is remembered, Allah, (the Mighty and Sublime) will build for him a house in Paradise."