Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates from the Prophet (peace and blessings be upon him): "Whoever washes a dead person, let him take a bath," and the wording of al-Hafiz's narration is that the Messenger of Allah (peace and blessings be upon him) said: "For washing the dead person there is a bath, and for carrying him there is ablution." (b) Ibn Lahi'ah and Hunayn bin Abi Hakim are not used as evidence. What is preserved (mahfuz) from the hadith of Abu Salamah is what Imam Bukhari (may Allah have mercy on him) pointed to: that it is mawquf, the words of Sayyiduna Abu Hurayrah (may Allah be pleased with him).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1442