If a person sleeps and is not sure whether this sleep was deep or not
Question

If a person sleeps and is not sure whether this sleep was deep or not, is his wudu invalidated by that?.
Praise be to Allah.If a person sleeps and is not sure whether this sleep invalidates wudu or not, then wudu is not invalidated by that.
Al-Nawawi (may Allah have mercy on him) said in al-Majmoo’ (2/17):
If a person is not sure whether he fell asleep or dozed off, but one of the two happened, his wudu is not invalidated. Al-Shaafa’i said in al-Umm: To be on the safe side, he should do wudu… then he said:
If he is certain that he slept, but he is not sure whether he was sitting firmly on his backside or not, he does not have to do wudu. This was clearly stated by the author of al-Bayaan and others, and it is the correct view. End quote. 
The words of al-Nawawi (may Allah have mercy on him) – “whether it he was sitting firmly on his backside or not” – mean: whether he was sitting firmly on his backside on the ground, on the basis that he will not invalidate his wudu if he is sitting firmly on his backside on the ground. In the answer to question no 36889 , we have stated that the correct view concerning the invalidation of wudu by sleep is that if the sleep is deep, it invalidates wudu, and if it is light it does not do so. 
The evidence that sleep does not invalidate wudu in the case of uncertainty as to whether anything that invalidates it has happened is the report narrated by al-Bukhaari (137) and Muslim (361) from ‘Abbaad ibn Tameem from his paternal uncle, who said: A complaint was made to the Prophet (S) about when one thinks that something has happened whilst he praying. He said: “Do not stop until you hear a sound or notice a smell. 
And Muslim (362) narrated that Abu Hurayrah (may Allah be pleased with him) said: The Messenger of Allah (S) said: “If one of you feels something in his stomach and is not sure whether something came out of him or not, let him not leave the mosque unless he hears a sound or notices a smell.” 
Al-Nawawi (may Allah have mercy on him) said in Sharh Muslim: 
The words of the Prophet (peace and blessings of Allah be upon him): “unless he hears a sound or notices a smell” mean: unless he is certain that one of them has happened. It is not essential that he both hear and smell it, according to the consensus of the Muslims. 
This hadeeth is one of the basic principles of Islam and one of the most important principles of fiqh, which is that things are assumed to remain as they originally were, unless there is proof to the contrary, and mere doubt does not change anything. 
An example of that is the issue which is mentioned in the hadeeth: which is that a person who is certain that he has purified himself and is not sure whether that purity had been broken is ruled to still be in a state of purity, and it makes no difference whether this doubt occurs during the prayer or outside of prayer. This is our view and the view of the majority of scholars of the earlier and later generations. 
Our companions said: It makes no difference whether the probability of the wudu being broken and the probability of it not being broken are equal, or one of them is more likely, or he thinks that one of them is more likely. He does not have to do wudu in any case.  
And our companions said: But it is mustahabb for him to do wudu, in order to be on the safe side. End quote.