Abu Hurairah reported,

The Prophet ﷺ said, "Whoever follows the funeral of a Muslim out of faith and seeking reward, prays over it, and remains until it is buried, returns with two qirats of reward, each qirat like Mount Uhud. Whoever prays over it and returns before it is buried returns with one qirat."

Ahmad 9551

Sahih

حدثنا يحيى قال حدثنا عوف قال حدثنا محمد

عن أبي هريرة

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

أحمد 9551صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 9551
Ahmad 9551