"When a funeral passes by you, stand up, and whoever follows it, let him not sit down until it is put down (in the grave)."
Sunan an-Nasa'i Book 21, Hadith 97