Sunan Ibn Majah, Book 4, Hadith 1 (Ibn Majah 735)

It was narrated that 'Umar bin Khattab said:

"I heard the Messenger of Allah say: 'Whoever builds a mosque in which the Name of Allah is mentioned, Allah will build a house for him in Paradise.'"