Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) used to stand upon seeing a funeral, until it was placed (on the ground), then the Prophet (peace and blessings be upon him) would sit down.
Hadith Referenceصحیح ابن حبان / كتاب الجنائز وما يتعلق بها مقدما أو مؤخرا / 3055
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح: م - انظر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح رجاله رجال الصحيح غير يزيد بن موهب وهو ثقة