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."
English reference: Vol. 1, Book 1, Hadith 584
Arabic reference: Book 1, Hadith 627