Abu Saeed Khudri mentioned to the Messenger of Allah ﷺ that when he was in a state of janaba and wished to sleep, and the Prophet instructed him to perform wudu and then sleep.
وبهذا الإسناد عن عبد الله بن خباب أن أبا سعيد الخدري ذكر لرسول الله ﷺ أنه تصيبه الجنابة فيريد أن ينام فأمره أن يتوضأ ثم ينام