[Machine] The Messenger of Allah ﷺ said, "When a woman dies among men, there should not be another woman present except her, and when a man dies among women, there should not be another man present except him. They should be shrouded and buried, and they are in the same category as someone who cannot find water. This is a transmitted hadith from Sinan ibn Gharafa from the Prophet ﷺ regarding a man who dies among women and a woman who dies among men. Neither of them should be washed, rather they should be shrouded and buried."
قَالَ رَسُولُ اللهِ ﷺ إِذَا مَاتَتِ الْمَرْأَةُ مَعَ الرِّجَالِ لَيْسَ مَعَهُمُ امْرَأَةٌ غَيْرُهَا وَالرَّجُلُ مَعَ النِّسَاءِ لَيْسَ مَعَهُنَّ رَجُلٌ غَيْرُهُ فَإِنَّهُمَا يُتَيَمَّمَانِ وَيُدْفَنَانِ وَهُمَا بِمَنْزِلَةِ مَنْ لَا يَجِدُ الْمَاءَ هَذَا مُرْسَلٌ وَرُوِي عَنْ سِنَانِ بْنِ غَرْفَةَ عَنِ النَّبِيِّ ﷺ فِي الرَّجُلِ يَمُوتُ مَعَ النِّسَاءِ وَالْمَرْأَةِ تَمُوتُ مَعَ الرِّجَالِ لَيْسَ لِوَاحِدٍ مِنْهُمَا مَحْرَمٌ يُتَيَّمَّمَانِ بِالصَّعِيدِ وَلَا يُغَسَّلَانِ