(27) باب الْجُنُبِ يَتَوَضَّأُ ثُمَّ يَنَامُ
Narrated `Abdullah:
`Umar asked the Prophet (ﷺ) "Can anyone of us sleep while he is Junub?" He replied, "Yes, if he performs ablution."
Reference: Sahih al-Bukhari 289
In-book reference: Book 5, Hadith 41
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 5, Hadith 287