"The Messenger of Allah said: 'Whoever attends a funeral until the prayer is offered will have one Qirat and whoever attends until (the body) is buried will have two Qirats."' It was said: "What are the two Qirats, O Messenger of Allah?" He said: "Like two great mountains."
Sunan an-Nasa'i Book 21, Hadith 178