ذِكْرُ الزَّجْرِ عَنْ دُخُولِ النِّسَاءِ الْحَمَّامَاتِ وَإِنْ كُنَّ ذَوَاتِ مَيَازِرَ
[Machine] The Messenger of Allah ﷺ said, "Whoever believes in Allah and the Last Day, let him honor his neighbor. And whoever believes in Allah and the Last Day, let him not enter the bathroom except wearing a waist-wrap. And whoever believes in Allah and the Last Day, let him speak good or remain silent. And whoever believes in Allah and the Last Day among your women, let them not enter the bathroom." Umar bin Abdul Aziz heard this and wrote to Abu Bakr bin Muhammad bin Amr bin Hazm, asking him to ask Muhammad bin Thabit about his hadith, for it is acceptable. Then he wrote to Umar, who prohibited women from entering the bathroom.
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «مَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الْآخِرِ فَلْيُكْرِمْ جَارَهُ وَمَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الْآخِرِ فَلَا يَدْخُلِ الْحَمَّامَ إِلَّا بِمِئْزَرٍ وَمَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الْآخِرِ فَلْيَقُلْ خَيْرًا أَوْ لِيَصْمُتَ وَمَنْ كَانَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الْآخِرِ مِنْ نِسَائِكُمْ فَلَا تَدْخُلِ الْحَمَّامَ» قَالَ فَنَمَيْتُ بِذَلِكَ إِلَى عُمَرَ بْنِ عَبْدِ الْعَزِيزِ فِي خِلَافَتِهِ فَكَتَبَ إِلَى أَبِي بَكْرِ بْنِ مُحَمَّدِ بْنِ عَمْرِو بْنِ حَزْمٍ أَنْ سَلَ مُحَمَّدَ بْنَ ثَابِتٍ عَنْ حَدِيثِهِ فَإِنَّهُ رِضًا فَسَأَلَهُ ثُمَّ كَتَبَ إِلَى عُمَرَ فَمَنَعَ النِّسَاءَ عَنِ الْحَمَّامِ