Question: I was fasting and I fell asleep in the mosque. When I woke up, I found that I’d had a wet dream. Does a wet dream affect the fast? Note that I did not perform ghusl, but prayed without ghusl. On one occasion a stone hit my head and blood flowed from my head; did the blood break my fast? And does vomiting invalidate the fast or not? I hope you will benefit me.
Answer: A wet dream does not invalidate the fast, because it is not something within a person’s control. However, when semen is emitted because of it, ghusl for janabah is obligatory upon him. This is because when the Prophet ﷺ was asked about it, he said that when a man sees water, meaning semen, ghusl is obligatory upon him.
As for your praying without ghusl, that was your mistake and a very bad matter. It is obligatory upon you to repeat the prayer and to repent to Allah, Glorified and Exalted is He. As for the stone that hit your head and the blood that flowed from it, it does not invalidate your fast. And the vomiting that came upon you without your choice or intention also does not invalidate your fast, because the Prophet ﷺ said:
من ذرعه القئ فلاقضاء عليه ومن استقاء فعليه القضاء
“Whoever is overcome by vomiting involuntarily has no make-up fast to owe, and whoever vomits deliberately must make up the fast (Ahmad and the authors of the Sunan narrated this hadith with a sahih (authentic) chain of narration).”
“Shaykh Ibn Baz (may Allah have mercy on him).”