It is narrated from Sayyiduna Umar (may Allah be pleased with him) that once I asked the Messenger of Allah (peace and blessings be upon him): If I become impure at night, what should I do? The Prophet (peace and blessings be upon him) said: "Wash your private parts, perform ablution as for prayer, and then go to sleep."