It was narrated that 'Aishah said:
"When the Messenger of Allah wanted to sleep and he was sexually impure, he would perform ablution as for prayer." (IT)
English reference (IT): Vol. 1, Book 1, Hadith 584 (IT)
Arabic reference (IT): Book 1, Hadith 627 (IT)