Aamir says: Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) and Marwan were sitting when a funeral procession passed by them. Sayyiduna Abu Sa'id (may Allah be pleased with him) stood up. Marwan said to him: Remain seated. He replied: I saw the Messenger of Allah (peace and blessings be upon him) stand up (for the funeral). Upon hearing this, Marwan also stood up.
Hadith Referenceالفتح الربانی / أبواب صلاة الجنازة / 3221