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