(5) باب الاِغْتِسَالِ قَبْلَ النَّوْمِ
It was narrated that 'Abdullah bin Abi Qais said:
"I asked 'Aishah: 'How did the Messenger of Allah (ﷺ) sleep while he was Junub? Did he perform Ghusl before sleeping or sleep before performing Ghusl?' She said: 'He did both. Sometimes he would perform Ghusl then sleep, and sometimes he would perform Wudu' then sleep.'"
Reference: Sunan an-Nasa'i 404
In-book reference: Book 4, Hadith 9
English translation: Vol. 1, Book 4, Hadith 404