[Machine] The Messenger of Allah ﷺ said that washing is required for five things: sexual impurity, cupping, washing on Fridays, washing the deceased, and washing with the water of a bath. Muslim reported in Sahih the hadith of Mus'ab ibn Shaybah from Talq ibn Habib from Ibn Zubayr from Aisha from the Prophet ﷺ who said that there are ten acts of fitrah (natural disposition), but he left out this hadith and did not include it. I do not see any problem in leaving it out except for criticism from some of the narrators. However, there is a witness for it in the hadith of Abdullah ibn Amr ibn al-As, except that he did not mention washing the deceased.
قَالَ رَسُولُ اللهِ ﷺ الْغُسْلُ مِنْ خَمْسَةٍ مِنَ الْجَنَابَةِ وَالْحِجَامَةِ وَغُسْلِ يَوْمِ الْجُمُعَةِ وَغُسْلِ الْمَيِّتِ وَالْغُسْلِ مِنْ مَاءِ الْحَمَّامِ أَخْرَجَ مُسْلِمٌ فِي الصَّحِيحِ حَدِيثَ مُصْعَبِ بْنِ شَيْبَةَ عَنْ طَلْقِ بْنِ حَبِيبٍ عَنِ ابْنِ الزُّبَيْرِ عَنْ عَائِشَةَ عَنِ النَّبِيِّ ﷺ عَشَرٌ مِنَ الْفِطْرَةِ وَتَرَكَ هَذَا الْحَدِيثَ فَلَمْ يُخْرِجْهُ وَلَا أُرَاهُ تَرَكَهُ إِلَّا لِطَعْنِ بَعْضِ الْحُفَّاظِ فِيهِ وَلَهُ شَاهِدٌ مِنْ حَدِيثِ عَبْدِ اللهِ بْنِ عَمْرِو بْنِ الْعَاصِ إِلَّا أَنَّهُ لَمْ يَذْكُرِ الْغُسْلَ مِنَ غُسْلِ الْمَيِّتِ