It is reported by Ibn Abbas that the Prophet, peace be upon him, woke up at night, performed ablution and then offered some voluntary prayer, then he slept and snored before rising again and offering prayer, without performing ablution anew. Does not sleep invalidate ablution? If so, how should we understand this Hadith?
Sleep in itself does not invalidate ablution. If you sleep while sitting on a chair, your ablution remains valid, even though your sleep may take an hour or longer. This is because while seated, wind cannot be discharged. No other way of invalidating ablution takes place. Take the case of a person who lies down and gets to sleep, then wakes up later. If someone tells him that he was close to him throughout and he neither heard nor smelled any discharge of wind from him during his sleep, he can perform prayer without having a fresh ablution. He relies on the information of this person to make sure that his ablution was still valid. Some scholars, however, notably Ibn Hazm, maintain that any sleep invalidates ablution and we need to perform ablution after we wake up if we wish to pray.
The Hadith does not say that the Prophet, peace be upon him, snored, nor has it ever been reported that the Prophet, peace be upon him, snored when asleep. The Hadith mentions that the Prophet, peace be upon him, lied down, then blew out his breath, then rose and prayed without ablution.
Ibn Abbas does not mention that the Prophet, peace be upon him, actually slept. The overall impression we get is that the Prophet, peace be upon him, had a few minutes of rest, and that his breathing was audible at the time. The fact that he went to prayer without performing ablution suggests one of two possibilities: either he was certain that he did not get to sleep, but merely relaxed so that his breathing was regular and audible, or he was informed by the angel Gabriel that his ablution remained valid.