The Book of Prayers (Kitab Al-Salat)

Muslim :: Book 4 : Hadith 2094

It is narrated on the authority of Abu Sa'id al-Khudri that the Holy Prophet (may peace be upon him) said: Whenever you come across a bier you should stand up, and he who follows it should not sit down till it is placed on the ground.

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