It is narrated from Sayyiduna Umar (may Allah be pleased with him) that he asked the Messenger of Allah (peace and blessings be upon him), "Can any one of us sleep in a state of janabah (major ritual impurity)?" The Prophet (peace and blessings be upon him) said: "He can sleep, and if he wishes, he may perform ablution."