Ayesha and Umm Salama reported,

The Messenger of Allah ﷺ would sometimes wake up in the morning in a state of ritual impurity from intercourse, not from a wet dream, during Ramadan, and he would still fast.

Muslim 2592

Sahih

حدثنا يحيى بن يحيى قال قرأت على مالك عن عبد ربه بن سعيد عن أبي بكر بن عبد الرحمن بن الحارث بن هشام

عن عائشة وأم سلمة زوجي النبي ﷺ أنهما قالتا

إن كان رسول الله ﷺ ليصبح جنبا من جماع غير احتلام في رمضان ثم يصوم

مسلم 2592صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Validity of fasting for one upon whom Fajr rises while he is in a state of major ritual impurity
Numbering
Darussalam 2592
Muslim 2592