(26) باب نَوْمِ الْجُنُبِ
Narrated `Umar bin Al-Khattab:
I asked Allah's Messenger (ﷺ) "Can any one of us sleep while he is Junub?" He replied, "Yes, if he performs ablution, he can sleep while he is Junub."
Reference: Sahih al-Bukhari 287
In-book reference: Book 5, Hadith 39
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 5, Hadith 285