Umar bin Khattab asked the Messenger of Allah ﷺ, "Can one of us sleep while in a state of major ritual impurity?"He replied, "Yes. If one of you performs ablution, he may sleep while in that state."
حدثنا قتيبة قال حدثنا الليث عن نافع
أن عمر بن الخطاب سأل رسول الله ﷺ أيرقد أحدنا وهو جنب قال نعم إذا توضأ أحدكم فليرقد وهو جنب