[Machine] The Messenger of Allah ﷺ said: "Whoever washes him/her, performs the ritual washing, and whoever carries him/her, performs ablution, meaning in the case of the deceased and the funeral."
قَالَ رَسُولُ اللهِ ﷺ مَنْ غَسَّلَهُ الْغُسْلُ وَمَنْ حَمَلَهُ الْوُضُوءُ يَعْنِي فِي الْمَيِّتِ وَالْجِنَازَةِ كَذَا