Muwatta Malik, Book 16, Hadith 4 (USC-MSA)

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."

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

sunnah.com

also referenced under: Book 16, Hadith 525 (In-Book)