Sahih Muslim

Hadith #2221

It is narrated on the authority of Abu Sa'id al-Khudri that the Prophet (ﷺ) 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