Hadithcore
Musnad Ahmad, 506
sahih· Darussalam

It was narrated from Mahmood bin Labeed That `Uthman (رضي الله عنه) wanted to build (an extension to) the mosque of Madinah, but the people objected to that and wanted to leave it as it was. `Uthman (رضي الله عنه) said:

I heard the Messenger of Allah( ﷺ) say: `Whoever builds a mosque for the sake of Allah, Allah will build for him a house like it in Paradise.`

حَدَّثَنَا الضَّحَّاكُ بْنُ مَخْلَدٍ، حَدَّثَنَا عَبْدُ الْحَمِيدِ بْنُ جَعْفَرٍ، حَدَّثَنِي أَبِي، عَنْ مَحْمُودِ بْنِ لَبِيدٍ، أَنَّ عُثْمَانَ، رَضِيَ اللَّهُ عَنْهُ أَرَادَ أَنْ يَبْنِيَ مَسْجِدَ الْمَدِينَةِ فَكَرِهَ النَّاسُ ذَاكَ وَأَحَبُّوا أَنْ يَدَعُوهُ عَلَى هَيْئَتِهِ فَقَالَ عُثْمَانُ رَضِيَ اللَّهُ عَنْهُ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ مَنْ بَنَى مَسْجِدًا لِلَّهِ بَنَى اللَّهُ لَهُ بَيْتًا فِي الْجَنَّةِ مِثْلَهُ‏.‏

Compare isnād across 12 related chains →