Abu Dawud Book 14, Hadith Number 3170.
Chapter : Not known.
Narated By Ubadah ibn as-Samit : The Apostle of Allah (PBUH) 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 (PBUH) sat down and said: Sit down and act differently from them.