A funeral procession passed by Hasan bin Ali and another man. One of them stood up while the other remained seated.The one who stood said, "By Allah, you know that the Messenger of Allah ﷺ stood up."The one who remained seated replied, "And you know that the Messenger of Allah ﷺ also remained seated."
أخبرنا يعقوب بن إبراهيم عن ابن علية عن سليمان التيمي عن أبي مجلز
والحسن بن علي مرت بهما جنازة فقام أحدهما وقعد الآخر فقال الذي قام أما والله لقد علمت أن رسول الله ﷺ قد قام قال له الذي جلس لقد علمت أن رسول الله ﷺ قد جلس
[Sahih] See the two preceding hadiths. It is also in Al-Kubra, hadith 2053.