“When you see a funeral (procession) stand up for it until it has passed by or it is placed on the ground.”
Sunan Ibn Majah Book 6, Hadith 110