Aamir bin Rabee’ah narrates that the Messenger of Allah (peace and blessings be upon him) said: When you see a funeral procession, stand up for it (and remain standing) until the funeral passes by you or it is placed down.
Hadith Referenceمسند الإمام الشافعي / كتاب الجنائز / 580
Hadith Takhrijاخرجه البخاري، الجنائز، باب القيام للجنازة (1307) ومسلم، الجنائز، باب القيام للجنازة (958)۔
It is narrated from Ali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) used to stand for funerals, then he would sit down.
Hadith Referenceمسند الإمام الشافعي / كتاب الجنائز / 581
Hadith Takhrijاخرجه مسلم ، الجنائز، باب نسخ القيام للجنازة (962)۔
It is narrated from Ali bin Abi Talib (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) used to stand for funerals, then later he sat down.
Hadith Referenceمسند الإمام الشافعي / كتاب الجنائز / 582
Hadith Takhrijاخرجه مسلم ، الجنائز، باب نسخ القيام للجنازة (962)۔
Alqamah narrates that (for the funeral) the Messenger of Allah, peace and blessings be upon him, stood up and instructed us to stand as well, then he sat down and instructed us to sit as well.
Hadith Referenceمسند الإمام الشافعي / كتاب الجنائز / 583
Hadith Takhrijاسناده ضعيف لضعف شیخ الشافعي : اخرجه البيهقي في المعرفة السنن والآثار (2128) ۔ واحمد: 1/ 82 ۔ وابو یعلی (273)۔