Sayyiduna Salamah bin al-Akwa' (may Allah be pleased with him) narrated: We were with the Messenger of Allah (peace and blessings be upon him) when a funeral was brought, and the people said: O Messenger of Allah, lead the funeral prayer for him. Then the narrator narrated a hadith similar to the previous one.
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6264