The Messenger of Allah (ﷺ) forbade to enter the hot baths. He then permitted men to enter them in lower garments.
Sunan Abi Dawud Book 33, Hadith 1