Mahmud bin Labeed reported,

Uthman bin Affan intended to rebuild the mosque, but the people disliked the idea and preferred that he leave it as it was. He said, "I heard the Messenger of Allah ﷺ say, 'Whoever builds a mosque for the sake of Allah, Allah will build for him the like of it in Paradise.'"

Azami 3052

Sahih

عن محمود بن لبيد

أن عثمان بن عفان أراد بناء المسجد. فكره الناس ذلك. فأحبوا أن يدعه على هيئته. فقال: سمعت رسول الله ﷺ يقول: من بنى مسجدا الله بنى الله له في الجنة مثله.

الأعظمي 3052صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Mosques
Section
Virtue of building mosques and encouragement to do so
Numbering
Jami al-Kamil 3052 (2nd edition)
Azami 3052