ENOfficial
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).
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَبُو نُعَيْمٍ، قَالَ حَدَّثَنَا هِشَامٌ، وَشَيْبَانُ، عَنْ يَحْيَى، عَنْ أَبِي سَلَمَةَ، قَالَ سَأَلْتُ عَائِشَةَ أَكَانَ النَّبِيُّ صلى الله عليه وسلم يَرْقُدُ وَهْوَ جُنُبٌ قَالَتْ نَعَمْ وَيَتَوَضَّأُ.
sunnah.com