It was narrated from Abu Sa'eed Khudri that:
He used to become sexually impure at night, then he would want to sleep. The Messenger of Allah told him to perform ablution and then go to sleep.