Hadith #251
Chapter: The Book of Visiting the Sick
كتاب عيادة المريض وتشييع الميت والصلاة عليه وحضور دفنه
Arabic Text
وعنه أن رسول الله صلى الله عليه وسلم قال: "من اتبع جنازة مسلم إيماناً واحتساباً، وكان معه حتي يصلى عليها ويفرغ من دفنها، فإنه يرجع من الأجر بقيراطين كل قيراط مثل أحدٍ، ومن صلى عليها، ثم رجع قبل أن تدفن ، فإنه يرجع بقيراط” ((رواه البخاري)).
English Translation
Abu Hurairah (may Allah be pleased with him) reported that the Messenger of Allah ﷺ said, "Whosoever attends the funeral of a Muslim believing and hoping for the reward from Allah and remains with it until the prayer is offered over it and the burial is completed, he will return with a reward of two Qirat; each Qirat is equivalent to Mount Uhud; and whosoever offers his prayer over it and returns before its burial, he will come back with one Qirat.".
Quran References
Reference: Riyadh al-Salihin, Book 6, Hadith 251
Sunnah.com ref: riyadh-salihin 251
Islam.wiki ID: IWH-67089