I heard Ibn ʿUmar say: ʿUmar (...) asked the Messenger of Allah ﷺ : If I become junub at night; what should I do? He said: ʿWash your private part then do wudoo’ then go to sleep.”
سَمِعْتُ ابْنَ عُمَرَ يَقُولُسَأَلَ عُمَرُ رَسُولَ اللهِ ﷺ فَقَالَ تُصِيبُنِي الْجَنَابَةُ مِنَ اللَّيْلِ فَمَا أَصْنَعُ؟ قَالَ اغْسِلْ ذَكَرَكَ ثُمَّ تَوَضَّأْ ثُمَّ ارْقُدْ