[Machine] The Messenger of Allah ﷺ used to wake up in a state of janaba (major ritual impurity resulting from sexual intercourse), willingly and not by coercion. He would then perform ghusl (ablution for purification) and offer prayers, completing his fast for that day.
كَانَ رَسُولُ اللهِ ﷺ «يُصْبِحُ جُنُبًا طَائِعًا غَيْرَ مُكْرَهٍ فَيَغْتَسِلُ وَيُصَلِّي وَيُتِمُّ صَوْمَهُ ذَلِكَ الْيَوْمَ»