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