Abu Salama reported,

I asked Ayesha, "Did the Prophet ﷺ sleep while in a state of major ritual impurity?"She replied, "Yes, and he would perform ablution."

Bukhari 286

Sahih

حدثنا أبو نعيم قال حدثنا هشام وشيبان عن يحيى بن أبي كثير

عن أبي سلمة قال

سألت عائشة أكان النبي ﷺ يرقد وهو جنب قالت نعم ويتوضأ

البخاري 286صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Ghusl
Chapter
Being in a state of major impurity in the house when one performs wudu before bathing
Numbering
Darussalam 286
Bukhari 286