وَعَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ « أَنَّهُ كَانَ تُصِيبُهُ الْجَنَابَةُ مِنَ اللَّيْلِ فَيُرِيدُ أَنْ يَنَامَ ، « فَأَمَرَهُ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - أَنْ يَتَوَضَّأَ ثُمَّ يَنَامَ » » .
It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he would become junub (in a state of major ritual impurity) during the night and want to sleep, so the Messenger of Allah (peace and blessings be upon him) commanded him to perform ablution and then sleep.