Does Sleeping Break Wudu? Here's the Explanation
Sleeping can break wudu depending on the position and level of consciousness. A short nap while sitting with your butt still firmly planted doesn’t break wudu, based on a story from Anas bin Malik that the companions waited for Isha prayer until their heads were nodding off, then they prayed without redoing wudu (narrated by Muslim).
Sleep that breaks wudu is deep sleep while lying down, on your back, or on your stomach, because you lose awareness and won’t notice if you pass wind. Imam Al-Mawardi from the Shafi'i school said, "Sleep breaks wudu except for a little sleep while sitting or standing."
Besides deep sleep, other things that break wudu include anything coming out of the front or back passage (fart, urine, stool, pre-ejaculate, wadi), losing your mind or consciousness (fainting, intoxication, insanity), touching your private parts without a barrier, and skin-to-skin contact with someone who's not your mahram. Evidence from the Quran, Surah Al-Maidah verse 6, and hadith supports these rules.
https://mozaik.inilah.com/dakw