The Messenger of Allah ﷺ would wake up in the morning in a state of major ritual impurity, then he would perform the ritual bath and complete his fast.
حدثنا أبو معاوية حدثنا الأعمش عن عمارة بن عمير عن أبي بكر بن عبد الرحمن بن الحارث بن هشام
كان رسول الله ﷺ يصبح جنبا ثم يغتسل ويتم صومه