It is narrated from Hazrat Aisha that when the Prophet (peace be upon him) intended to sleep in a state of major ritual impurity, he would perform ablution as he did for prayer.