'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]. (ID)
App reference (ID): Book 9, Hadith 255 (ID)
Arabic/English book reference (ID): Book 9, Hadith 1245 (ID)