It is narrated from Sayyiduna Fadalah bin Ubayd (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) vomited and so broke his fast.
Hadith Referenceالمعجم الكبير للطبراني / باب الفاء / 15908
Abu Marzuq says: I heard Sayyiduna Fadalah bin Ubayd (may Allah be pleased with him) narrate that the Messenger of Allah (peace and blessings be upon him) came out to them on a day on which he used to fast. He called for a vessel of water and drank, so we said: "O Messenger of Allah, you used to fast on this day?" He (peace and blessings be upon him) said: "Yes, but I vomited."
Hadith Referenceالمعجم الكبير للطبراني / باب الفاء / 15909
Sayyiduna Fadalah bin Ubayd (may Allah be pleased with him) narrates: The Messenger of Allah (peace and blessings be upon him) called for food, and it was said: "O Messenger of Allah, were you not fasting today?" He (peace and blessings be upon him) said: "Yes indeed, but I vomited."
Hadith Referenceالمعجم الكبير للطبراني / باب الفاء / 15910