Thawban reported,

The Messenger of Allah ﷺ said, "Whoever prays over a funeral receives one qirat of reward, and whoever attends its burial receives two qirats. Each qirat is like the size of Mount Uhud."

Azami 3672

Sahih

عن ثوبان مولى رسول الله ﷺ

أن رسول الله ﷺ قال: من صلى على جنازة فله قيراط، فإن شهد دفنها فله قيراطان، والقيراط مثل أحد.

الأعظمي 3672صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Deceased, carrying the funeral bier, and standing for it
Section
Following funeral processions and its virtue
Numbering
Jami al-Kamil 3672 (2nd edition)
Azami 3672