Narrated AbuHurayrah:
The Prophet (ﷺ) said: if one has a sudden attack of vomiting while one is fasting, no atonement is required of him, but if he vomits intentionally he must make atonement.
Narrated Ma'dan b. Talhah:
That Abu ad-Darda' narrated to him: The Messenger of Allah (ﷺ) vomited and broke his fast. Then I met Thawban, the client of the Messenger of Allah (ﷺ), in the mosque in Damascus, I said (to hi…