Sahih al-Bukhari, Hadith 286 ⓘ
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: Book 5, Hadith 38 (In-Book) & Volume 1, Book 5, Hadith 284 (USC-MSA)