It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever digs a grave, Allah Almighty will build a house for him in Paradise. Whoever washes a dead person comes out free of sins as (he was) on the day his mother gave birth to him. Whoever shrouds a dead person, Allah Almighty will clothe him with garments from the robes of Paradise. Whoever consoles a grieving person, Allah Almighty will clothe him with piety (taqwa) and send mercy upon his soul among the souls. Whoever consoles an afflicted person, Allah Almighty will clothe him with two robes of Paradise that the whole world cannot equal. Whoever follows a funeral until its burial is completed, three qirats are recorded for him, each qirat of which is greater than Mount Uhud. And whoever takes care of an orphan or a widow, Allah Almighty will shade him in His shade and admit him into His Paradise."
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated this hadith from al-Khalil bin Murrah except Musa bin A'yan, and it is narrated from Sayyiduna Jabir (may Allah be pleased with him) only with this chain. And the lineage of the Isma'il bin Ibrahim who narrated this hadith was not given to us (that is, his identity is not clear)."
Hadith Referenceالمعجم الأوسط / باب الهاء / 9292
Hadith Gradingمحدثین:فيه الخليل بن مرة، وفيه كلام
Hadith Takhrij«قال الهيثمي: فيه الخليل بن مرة وفيه كلام «مجمع الزوائد ومنبع الفوائد، ج 3، ص 21»»