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.” (Using translation from Aḥmad 359)
سَمِعْتُ ابْنَ عُمَرَ يَقُولُ إِنَّ عُمَرَ أَتَى رَسُولَ اللَّهِ ﷺ فَقَالَ تُصِيبُنِي الْجَنَابَةُ مِنَ اللَّيْلِ فَكَيْفَ أَصْنَعُ؟ قَالَ «اغْسِلْ ذَكَرَكَ ثُمَّ تَوَضَّأْ ثُمَّ ارْقُدْ»