the Messenger of Allah said: "Three things do not break the fast of the fasting person: Cupping, vomiting, and the wet dream."
Jami` at-Tirmidhi Book 8, Hadith 38