Sunan Ibn Majah, Book 7, Hadith 38 (Ibn Majah 1675)

It was narrated that Abu Masruq said:

“I heard Fadalah bin ‘Ubaid Al- Ansari narrating that the Prophet (ﷺ) came out to them on a day when he was fasting. He called for a vessel and drank. We said: ‘O Messenger of Allah, you were fasting today.’ He said: ‘Yes, but I vomited.’”