Narrator:Amr ibn ‘Abasah
وَعَن عَمْرو بن عبسة أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ بَنَى مَسْجِدًا لِيُذْكَرَ اللَّهُ فِيهِ بُنِيَ لَهُ بَيْتٌ فِي الْجَنَّةِ وَمَنْ أَعْتَقَ نَفْسًا مُسْلِمَةً كَانَتْ فِدْيَتَهُ مِنْ جَهَنَّمَ. وَمَنْ شَابَ شَيْبَةً فِي سَبِيلِ اللَّهِ كَانَتْ لَهُ نُورًا يَوْم الْقِيَامَة» . رَوَاهُ فِي شرح السّنة
‘Amr b. ‘Abasa reported the Prophet as saying, “If anyone builds a mosque that God may be mentioned in it, a house will be built for him in paradise; if anyone emancipates a Muslim, that will be his ransom from jahannam; if anyone develops a grey hair while in 'God’s path, it will be a light for him on the day of resurrection.” It is transmitted in Sharh as-sunna.
Reported by Abu Dawud (No. 3965, 3966), At-Tirmidhi (No. 1635, 1638), An-Nasa’i (No. 3142, 3143, 3145) and Ahmad (No. 16406, 16408, 16410, 18612, 18620, 18624). Cited in Mishkat al-Masabih (No. 3385).