Sahih al-Bukhari, Book 5, Hadith 38 (In-Book) ⓘ
Narrated Abu Salama: I asked `Aisha "Did the Prophet use to sleep while he was Junub?" She replied, "Yes, but he used to perform ablution (before going to bed).
حَدَّثَنَا أَبُو نُعَيْمٍ، قَالَ حَدَّثَنَا هِشَامٌ، وَشَيْبَانُ، عَنْ يَحْيَى، عَنْ أَبِي سَلَمَةَ، قَالَ سَأَلْتُ عَائِشَةَ أَكَانَ النَّبِيُّ صلى الله عليه وسلم يَرْقُدُ وَهْوَ جُنُبٌ قَالَتْ نَعَمْ وَيَتَوَضَّأُ.
also referenced under: Hadith 286 (DarusSalam) & Volume 1, Book 5, Hadith 284 (USC-MSA)