The Book of Prayers (Kitab Al-Salat)

Muslim :: Book 4 : Hadith 2095

It is narrated on the authority of Jabir ibn 'Abdullah: There passed a bier and the Holy Prophet (may peace be upon him) stood up for it and we also stood up along with him. We said: Messenger of Allah, that was the bier of a Jewess. Upon this he remarked: Verily, death is a matter of consternation, so whenever you come across a bier stand up.

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