Funerals (Kitab Al-Jana'iz)
Dawud :: Book 20 : Hadith 3215
Narrated Uthman ibn Affan:
Whenever the Prophet (peace_be_upon_him) became free from burying the dead, he used to stay at him (i.e. his grave) and say: Seek forgiveness for your brother, and beg steadfastness for him, for he will be questioned now.