Abdullah bin Umar reported,

Umar asked the Prophet ﷺ for a ruling, "Can one of us sleep while in a state of major ritual impurity?"He replied, "Yes, if he performs ablution."

Bukhari 289

Sahih

حدثنا موسى بن إسماعيل قال حدثنا جويرية عن نافع

عن عبد الله قال

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

البخاري 289صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Ghusl
Chapter
One in a state of major impurity performs wudu then sleeps
Numbering
Darussalam 289
Bukhari 289