Abu Hurairah reported,

He used to narrate that the Prophet ﷺ said, "Whoever follows a funeral procession and prays over the deceased earns one qirat of reward, and whoever follows it until the burial is complete earns two qirats, the smaller of which is like Mount Uhud," or, "one of which is like Mount Uhud."

Abu Dawud 3168

Sahih

حدثنا مسدد حدثنا سفيان عن سمي عن أبي صالح

عن أبي هريرة

يرويه قال من تبع جنازة فصلى عليها فله قيراط ومن تبعها حتى يفرغ منها فله قيراطان أصغرهما مثل أحد أو أحدهما مثل أحد

أبو داود 3168صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Funerals
Chapter
Virtue of praying over the deceased and accompanying them
Numbering
Darussalam 3168
Abu Dawud 3168