ENOfficial
‘A’isha said the Prophet (ﷺ) forbade men and women from entering baths, but afterwards permitted men to enter them wearing lower garments. Tirmidhi and Abu Dawud transmitted it.
Source: sunnah.com
Other translations
Arabic
وَعَنْ عَائِشَةَ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ نَهَى الرِّجَالَ وَالنِّسَاءَ عَنْ دُخُولِ الْحَمَّامَاتِ ثُمَّ رَخَّصَ لِلرِّجَالِ أَنْ يَدْخُلُوا بِالْمَيَازِرِ. رَوَاهُ التِّرْمِذِيّ وَأَبُو دَاوُد
sunnah.com