(Imām Bukhārī narrates): Musa bin Isma'il narrated to us, he said: Juwairiyah narrated to us, from Nafi', from Abdullah, he says that
Hazrat Umar asked the Prophet ﷺ: Can any of us sleep when he is in janabah? He said: Yes! When he has performed wudu.
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، قَالَ حَدَّثَنَا جُوَيْرِيَةُ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ
قَالَ اسْتَفْتَى عُمَرُ النَّبِيَّ صلى الله عليه وسلم أَيَنَامُ أَحَدُنَا وَهْوَ جُنُبٌ قَالَ " نَعَمْ، إِذَا تَوَضَّأَ "
Reference: Sahih Al Bukhari 289