The Prophet ﷺ said, "Whoever follows a funeral until he prays over it receives a reward of one carat, and whoever walks with the funeral until the burial is complete," and once he said, "until the deceased is buried, receives a reward of two carats, and a carat is like Uhud."
قال أبو عبد الرحمن وحدثناه صالح بن عبد الله الترمذي وأبو معمر قالا حدثنا عبثر بن القاسم أبو زبيد عن برد أخي يزيد بن أبي زياد عن المسيب بن رافع عن البراء عن النبي ﷺ نحوه