"If the Messenger of Allah (ﷺ) wanted to sleep while he was Junub, he would perform Wudu', and if he wanted to eat or drink," she said: "he would wash his hands and then eat or drink."
Sunan an-Nasa'i Book 1, Hadith 258