Sunan Abu Dawood
3168
Narrated Abu Hurairah: If anyone attends the funeral and prays over (the dead), he will get the reward of one qirat, and if anyone attends the funeral until the completion (of the burial), he will get the reward of two qirats, the smaller of them..
READ COMPLETE