Narrated Omar bin Al-Khattab: I asked Allah’s Messenger, peace be upon him, “Can any one of us sleep while he is Janub [Janub is a person who in the state of Janabah]? He replied, “Yes, if he performs ablution, he can sleep while he is Janub.”
[I: 285 O.B. Sahih Al-Bukhari)