It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever comes for the funeral to the family of the deceased, then walks with it until the funeral prayer has been offered over it, will have one qirat of reward; and whoever remains present with the funeral until the burial is completed will have two qirats, which are like Mount Uhud."
Abu Bakr bin Abi Shaybah recorded it with a chain in which there is some weakness; Ahmad bin Mani' also recorded it with a chain in which Atiyyah al-Awfi is a narrator, and its wording is: "Whoever offers the funeral prayer and walks with it will have two qirats; and whoever only prays but does not go with the funeral will have one qirat; and one qirat is equal to Mount Uhud." Imam Ahmad bin Hanbal also recorded it in full, while Imam Muslim and other hadith scholars recorded it from the hadith of Sayyiduna Sa'd bin Abi Waqqas and Sayyiduna Thawban (may Allah be pleased with them both), and Imam al-Nasa'i from the narrations of Sayyiduna al-Bara' and Sayyiduna Abdullah bin Mughaffal (may Allah be pleased with them both).
Hadith Takhrij«رواه أبو بكر بن أبي شيبة بسند فيه لين» «بسند فيه عطية العوفي ولفظه: "من صلى على جنازة وشيعها كان له قيراطان، ومن صلى عليها ولم يشيعها فله قيراط، والقيراط مثل أحد"» «أخرجه صحيح البخاري برقم: 1261، وأخرجه سنن الترمذي برقم: 1040، وأخرجه سنن النسائي برقم: 1997، وأخرجه سنن أبي داود برقم: 3168، وأخرجه سنن ابن ماجه برقم: 1539، وأخرجه مصنف ابن أبي شيبة برقم: 7، وأخرجه المعجم الأوسط للطبراني برقم: 8482، وأخرجه شرح مشكل الآثار برقم: 1258، وأخرجه مسند أحمد برقم: 10768»