Umar bin Khattab reported,

Someone asked the Messenger of Allah ﷺ, "Can one of us sleep while in a state of major impurity?"He replied, "Yes, if he performs ablution."

Ibn Majah 585

Sahih

حدثنا نصر بن علي الجهضمي حدثنا عبد الأعلى حدثنا عبيد الله بن عمر عن نافع عن ابن عمر أن

عمر بن الخطاب قال

لرسول الله ﷺ أيرقد أحدنا وهو جنب قال نعم إذا توضأ

ابن ماجه 585صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
Whoever said a person in a state of major ritual impurity should not sleep until he performs wudu for prayer
Numbering
Darussalam 585
Ibn Majah 585