It is narrated from Sayyiduna Thawban (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Whoever offers the funeral prayer will have one qirat, and whoever attends its burial will have two qirats, each qirat being like (Mount) Uhud."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6750