Riyad as-Salihin, Book 7, Hadith 930 (In-Book) ⓘ
Abu Hurairah (May Allah be pleased with him) reported: 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."[Al- Bukhari].
وعنه أن رسول الله صلى الله عليه وسلم قال: "من اتبع جنازة مسلم إيماناً واحتساباً، وكان معه حتي يصلى عليها ويفرغ من دفنها، فإنه يرجع من الأجر بقيراطين كل قيراط مثل أحدٍ، ومن صلى عليها، ثم رجع قبل أن تدفن ، فإنه يرجع بقيراط” ((رواه البخاري)).