"If the Messenger of Allah (ﷺ) wanted to sleep while he was Junub, he would perform Wudu' as for prayer before sleeping."
Sunan an-Nasa'i Book 1, Hadith 259