Funerals (Kitab Al-Jana'iz)

Dawud :: Book 20 : Hadith 3170

Narrated Ubadah ibn as-Samit:

The Apostle of Allah (peace_be_upon_him) used to stand up for a funeral until the corpse was placed in the grave. A learned Jew (once) passed him and said: This is how we do. The Prophet (peace_be_upon_him) sat down and said: Sit down and act differently from them.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star