Sunan an-Nasa'i #258 · The Book of Purification

Sunan an-Nasa'iIt was narrated that 'Aishah said
Sunan an-Nasa'i · Book 1 · The Book of Purification
Sunan an-Nasa'i · كتاب 1 · كتاب الطهارة
"If the Messenger of Allah (ﷺ) wanted to sleep while he was Junub, he would perform Wudu' as for prayer before sleeping
أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنِ ابْنِ شِهَابٍ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ عَائِشَةَ، - رضى الله
عنها - قَالَتْ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ إِذَا أَرَادَ أَنْ يَنَامَ وَهُوَ جُنُبٌ تَوَضَّأَ وُضُوءَهُ لِلصَّلاَةِ قَبْلَ أَنْ يَنَامَ ‏.‏
Reference : Sunan an-Nasa'i 258In-book reference : Book 1, Hadith 259