The Messenger of Allah ﷺ would sometimes enter the morning in a state of major ritual impurity and then fast that day.
حدثنا روح وعبد الوهاب قالا حدثنا سعيد عن قتادة عن سعيد بن المسيب عن عامر بن أبي أمية أخي أم سلمة
كان رسول الله ﷺ يصبح جنبا ثم يصبح صائما
No references are available.
Its isnad is sahih. Amir bin Abu Umaya was a companion. The hadith has been mentioned many times before. See 23631.