It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "When a funeral passes by any one of you, let him stand up (out of respect for it) until it leaves him behind (that is, goes past him)." Imam Abu Dawud al-Tayalisi recorded it with a sahih (authentic) chain.