I asked Ayesha, "Did the Messenger of Allah ﷺ used to sleep while in a state of major ritual impurity?"She replied, "Yes, but he would perform ablution like the ablution for prayer."
حدثنا يحيى عن هشام يعني الدستوائي قال حدثنا يحيى
سألت عائشة أكان رسول الله ﷺ ينام وهو جنب قالت نعم ولكن كان يتوضأ مثل وضوء الصلاة