It wasnarrated from Abu Hurairah that the Prophet (ﷺ) said:
"Whoeverunintentionally vomits, he does not have to make up for thefast, butwhoever makes himself vomit, has to make up for the fast." (PT)
English reference (PT): Vol. 1, Book 7, Hadith 1676 (PT)
Arabic reference (PT): Book 7, Hadith 1746 (PT)