كتاب الزهد والرقائق
55  
The Book of Zuhd and Softening of Hearts
(3)
Chapter: The Virtue Of Building Masajid
(3)
باب فَضْلِ بِنَاءِ الْمَسَاجِدِ
Sahih Muslim 533 e

This hadith has been narrated on the authority of Ja'far with the same chain of transmitters with this variation (that the words are):

" Allah would build for him a house in Paradise."
وَحَدَّثَنَاهُ إِسْحَاقُ بْنُ إِبْرَاهِيمَ الْحَنْظَلِيُّ، حَدَّثَنَا أَبُو بَكْرٍ الْحَنَفِيُّ، وَعَبْدُ الْمَلِكِ بْنُ، الصَّبَّاحِ كِلاَهُمَا عَنْ عَبْدِ الْحَمِيدِ بْنِ جَعْفَرٍ، بِهَذَا الإِسْنَادِ غَيْرَ أَنَّ فِي، حَدِيثِهِمَا ‏ "‏ بَنَى اللَّهُ لَهُ بَيْتًا فِي الْجَنَّةِ ‏"‏ ‏.‏
Reference : Sahih Muslim 533e
In-book reference : Book 55, Hadith 55
USC-MSA web (English) reference : Book 42, Hadith 7111
  (deprecated numbering scheme)