'Aishah, and Umm Salamah (May Allah be pleased with them) reported:
The Messenger of Allah (ﷺ) would wake during Ramadan (fasting) in a state of major impurity without a wet dream, but on account of sexual intercourse and he would take a bath before dawn.[Al- Bukhari and Muslim]. (RU)
App reference (RU): Book 9, Hadith 255 (RU)
Arabic/English book reference (RU): Book 9, Hadith 1245 (RU)