Sunan Ibn Majah
1542
Sahih+3

It was narrated from ‘Amir bin Rabi’ah that the Prophet (ﷺ) said:“When you see a funeral (procession) stand up for it until it has passed by or it is placed on the ground.”

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi