It is narrated from Sayyida Aisha (may Allah be pleased with her), she says: When the Messenger of Allah (peace and blessings be upon him) would become junub and intended to sleep, he (peace and blessings be upon him) would perform ablution as for prayer before sleeping and would say: Whoever intends to sleep in a state of janabah should perform ablution as for prayer.
Hadith Takhrij«الحديث من فعله صلي الله عليه وآله وسلم صحيح، ومن قوله صلي الله عليه وآله وسلم صحيح لغيره۔ أخرجه البخاري: 288، ومسلم: 305 من فعله صلي الله عليه وآله وسلم ، ، (انظر مسند أحمد ترقيم الرسالة: 24608 ترقیم بيت الأفكار الدولية: 25115»
Brief Explanation
Benefits: … From these narrations, it is understood that it is permissible for a person in a state of major ritual impurity (junub) to delay the ritual bath (ghusl) until the morning. However, in such a situation, it is recommended (mustahabb) for him to perform ablution (wudu) before sleeping.