Lady Aisha Siddiqa (may Allah be pleased with her) narrates: When the Prophet Muhammad (peace be upon him) intended to sleep in a state of major ritual impurity (janabah), he would perform ablution (wudu) similar to the ablution for prayer before sleeping.
Hadith Referenceصحیح ابن حبان / كتاب الطهارة / 1217
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (219): م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح، ابن قتيبة: هو محمد بن الحسن، ويزيد بن موهب: هو يزيد بن خالد بن يزيد بن عبد الله بن موهب الرملي، ثقة عابد، أخرج له أبو داود والنسائي وابن ماجة، وباقي رجال الإسناد رجال الشيخين.