Sunan an Nasai
1914
Sahih+2

It was narrated from Abu Sa'eed that the Messenger of Allah said:"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)

SahihAbu Ghuddah
SahihAl-Albani