Should anyone amongst you see a bier he must stand up so long as it is within sight in case he does not intend to follow it.
Sahih Muslim Book 11, Hadith 97