Hadrat Abu Hurairah (r.a.) reported: The Messenger of Allah (saws) said, "Whoever follows the funeral procession and offers the funeral prayer for it, will get a reward equal to one Qirat, and whoever attends it till burial, will get a reward equal to two Qirat.`` It was asked, "What are two Qirat?`` He (PBUH) replied, "Equal to two huge mountains
Related by Bukhari and Muslim
Commentary
The Messenger of Allah (saws) encouraged the believers to attend the burial of their believing brethren stating that one who follows the funeral and offers the prayer would get a reward as huge as a mountain….and if one follows the burial, offers the funeral prayer, and waits till the deceased is buried in the grave one would be entitled to earn a reward of two huge mountains
عن أبي هريرة رضي الله عنه قال:
قال رسول الله صلى الله عليه وسلم من شهد الجنازة حتى يصلي فله قيراط ومن شهد حتى تدفن كان له قيراطان قيل وما القيراطان قال مثل الجبلين العظيمين .
فتح الباري بشرح صحيح البخاري