Sunan Abi Dawud, Book 1, Hadith 222 (Abu Dawud 222)

‘A’ishah reported:

when the prophet (ﷺ) intended to sleep while he was sexually defiled, he would perform ablution as he did for prayer.