It is narrated from Aban bin Uthman (may Allah have mercy on him) that he saw a funeral, and when he saw it he stood up, then said: "I saw Sayyiduna Uthman (may Allah be pleased with him) doing this, and he told me that he had seen the Messenger of Allah (peace and blessings be upon him) doing it."
Imam al-Daraqutni (may Allah have mercy on him) was asked about it and said: "Isma'il bin Ayyash, Mus'ab bin Sadaqah (the father of Muhammad bin Mus'ab) and Sa'id bin Maslamah narrate it, and they all agreed on its being marfu' (attributed to the Prophet), unlike Yahya bin Sulaym, for Yahya made it mawquf on Isma'il bin Umayyah, whereas its being marfu' is what is correct." It has also been said that only Abd al-Jabbar bin al-Ala' and al-Hasan bin Muhammad al-Za'farani narrated it from Yahya bin Sulaym as mawquf,
while al-Humaydi, Suwayd bin Sa'id, Abu Ma'mar al-Hudhali and Abu al-Sari Sahl bin Mahmud narrated it from Yahya as marfu'.
Related hadith on this topic