Sahih Muslim, Book 3, Hadith 26 (Muslim 700)

Ibn Umar reported:

Umar b. al-Khattab said to the Messenger of Allah (ﷺ), that he became Junbi during the night. The Messenger of Allah (ﷺ) said to him: Perform ablution, wash your sexual organ and then go to sleep.