The ruling on the Wet Dream and Blood and Vomit coming out during the Fast
Question :
I was fasting and I slept in the Masjid. Then, after I awoke I found that I had a wet dream. Does the wet dream has an effect on the fast, while it should be known that I did not bathe and I offered the prayer without making complete bathing? Another time I was hit by a rock in my head and blood flowed from it. Was my fast broken because of the blood? And in reference to vomit, does it corrupt the fast or not? I hope to receive some benefit.
Answer:
The wet dream does not corrupt the fast because it was not by the choice of the servant. However, he must perform complete bathing for sexual impurity if sperm was emitted from him. This is because when the Prophet was asked about that he answered that the person who has a wet dream must perform complete bathing if he finds the fluid, meaning sperm. Your praying without bathing is a mistake on your part and a great evil. You must repeat that prayer along with repenting to Allâh. Concerning the stone that struck you in your head causing blood to flow, this does not nullify your fast.
This vomit that came out of you without you choosing that (i.e., unintentionally), it does not nullify your fast due to the Prophet's statement:
"Whoever is overcome by vomiting, he does not have to make up for the fast, and whoever makes himself vomit, he must make up for the fast."
This was recorded by Ahmad and the Sunan compilers with an authentic chain of narration.
Source:
Ash-Shaykh Ibn Baz
Fatawa Islamiyah, Vol. 3 Pages 271-272