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.
bayhaqi:14802[Chain 1] Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > Mūsá b. Ismāʿīl > Ḥammād [Chain 2] Abū al-Ḥasan ʿAlī b. Muḥammad al-Muqriʾ > al-Ḥasan b. Muḥammad b. Isḥāq > Yūsuf b. Yaʿqūb > Muḥammad b. Abū Bakr > Hishām b. ʿAbd al-Malik > Ḥammād b. Salamah > ʿAbdullāh b. Shaddād > Abū ʿUdhrah > ʿĀʾishah

[Machine] The Prophet ﷺ forbade both men and women from entering the bathrooms. However, he allowed men to enter while wearing clothes, but he did not allow women. This is stated in the narration of Al-Muqri and in the narration of Ar-Rawdabari.  

البيهقي:١٤٨٠٢أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنا أَبُو بَكْرِ بْنُ دَاسَةَ نا أَبُو دَاوُدَ نا مُوسَى بْنُ إِسْمَاعِيلَ نا حَمَّادٌ ح وَأَخْبَرَنَا أَبُو الْحَسَنِ عَلِيُّ بْنُ مُحَمَّدٍ الْمُقْرِئُ أنا الْحَسَنُ بْنُ مُحَمَّدِ بْنِ إِسْحَاقَ نا يُوسُفُ بْنُ يَعْقُوبَ نا مُحَمَّدُ بْنُ أَبِي بَكْرٍ نا هِشَامُ بْنُ عَبْدِ الْمَلِكِ نا حَمَّادُ بْنُ سَلَمَةَ عَنْ عَبْدِ اللهِ بْنِ شَدَّادٍ عَنْ أَبِي عُذْرَةَ عَنْ عَائِشَةَ ؓ أَنَّ

النَّبِيَّ ﷺ نَهَى الرِّجَالَ وَالنِّسَاءَ عَنْ دُخُولِ الْحَمَّامَاتِ ثُمَّ رَخَّصَ لِلرِّجَالِ أَنْ يَدْخُلُوا وَعَلَيْهِمُ الْأُزُرُ وَلَمْ يُرَخِّصْ لِلنِّسَاءِ لَفْظُ حَدِيثِ الْمُقْرِئِ وَفِي رِوَايَةِ الرُّوذْبَارِيِّ نَهَى عَنْ دُخُولِ الْحَمَّامَاتِ ثُمَّ رَخَّصَ لِلرِّجَالِ أَنْ يَدْخُلُوهَا فِي الْمَيَازِرِ