Sahih Bukhari
Funerals (Al-Janaaiz)
Volume: 002 / Book Number: 023 / Hadith Number: 397
Narrated Abu Said Al-Khudri
The Prophet said, "When you see a funeral procession, you should stand up, and whoever accompanies it should not sit till the coffin is put down."