Ibn 'Umar reported: Umar said: Is one amongst us permitted to sleep in a state of impurity (i. e. after having sexual intercourse)? He (the Holy Prophet) said: Yes, after performing ablution.
Hadith ReferenceSahih Muslim / The Book of Menstruation / Hadith: 306