It was narrated from Ibn 'Umar that :
'Umar bin Khattab said to the Messenger of Allah: "can anyone of us sleep if he is sexually impure?" He said: "Yes, if he performs ablution."
English reference: Vol. 1, Book 1, Hadith 585
Arabic reference: Book 1, Hadith 628