Sayyiduna Abu Hurayrah (may Allah be pleased with him) reports the saying of the Prophet (peace and blessings be upon him): "Whoever follows a funeral, carries it on his shoulder, throws handfuls of soil into its grave, and remains seated until he is given permission to leave, returns with two qirats of reward, each qirat being like Mount Uhud." Allamah al-Haythami says: I say: The hadith of Sayyiduna Abu Hurayrah (may Allah be pleased with him) is mentioned in the Sahih in abridged form, and it is other than this one.
Ahmad recorded it. Its chain contains a narrator, Ibn Lahi'ah, and there is criticism about him.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجنائز / 4136