It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever carries him should perform ablution (wudu)." (b) Layth said: The hadith of Sayyiduna Abu Hurayrah (may Allah be pleased with him) reached us, and it was mentioned to Sayyiduna Abdullah bin Amr (may Allah be pleased with them both). He said: What the Messenger of Allah (peace and blessings be upon him) meant is that no one should attend the funeral except a person in a state of ablution. (c) The Shaykh said: This narration has been reported through another chain from Sayyiduna Abu Hurayrah (may Allah be pleased with him), but that chain is weak.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1447