Jami` at-Tirmidhi, Book 8, Hadith 38 (Tirmidhi 719)

Abu Sa'eed Al-Khudri narrated that:

the Messenger of Allah said: "Three things do not break the fast of the fasting person: Cupping, vomiting, and the wet dream."