Sahih Bukhari | Volume 1 | Hadith Number 288

Narrated by 'Abdullah bin 'Umar
Umar bin Al-Khattab told Allah's Apostle, "I became Junub at night." Allah's Apostle replied, "Perform ablution after washing your private parts and then sleep."