Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:16-4Mālik

Yahya related to me from Malik that he had heard people of knowledge say, "When a woman dies and there are no women with her to wash her and no man who has the right by blood ties to take charge of that for her and no husband to take charge of it for her, she should be purified by tayammum ,that is, by wiping her face and hands with earth." Malik said, "When a man dies and there are only women with him, they also should purify him with earth ." Malik said, "There is no particular way with us for washing the dead nor any recognised way to do it. They are just washed and purified."  

مالك:١٦-٤وَحَدَّثَنِي عَنْ مَالِكٍ

أَنَّهُ سَمِعَ أَهْلَ الْعِلْمِ يَقُولُونَ إِذَا مَاتَتِ الْمَرْأَةُ وَلَيْسَ مَعَهَا نِسَاءٌ يُغَسِّلْنَهَا وَلاَ مِنْ ذَوِي الْمَحْرَمِ أَحَدٌ يَلِي ذَلِكَ مِنْهَا وَلاَ زَوْجٌ يَلِي ذَلِكَ مِنْهَا يُمِّمَتْ فَمُسِحَ بِوَجْهِهَا وَكَفَّيْهَا مِنَ الصَّعِيدِ قَالَ مَالِكٌ وَإِذَا هَلَكَ الرَّجُلُ وَلَيْسَ مَعَهُ أَحَدٌ إِلاَّ نِسَاءٌ يَمَّمْنَهُ أَيْضًا قَالَ مَالِكٌ وَلَيْسَ لِغُسْلِ الْمَيِّتِ عِنْدَنَا شَىْءٌ مَوْصُوفٌ وَلَيْسَ لِذَلِكَ صِفَةٌ مَعْلُومَةٌ وَلَكِنْ يُغَسَّلُ فَيُطَهَّرُ