‘Abdullāh ibn ‘Umar (may Allah be pleased with him) reported: ‘Umar ibn al-Khattāb (may Allah be pleased with him) said: "O Messenger of Allah, may anyone of us sleep while being ritually impure?" He said: "Yes, he may sleep if he makes ablution." Authentic hadith - Narrated by Bukhari & Muslim