Abu Hurairah (RAA) narrated that The Messenger of Allah (ﷺ) said:
"Whoever is overcome and vomits is not to make up for the day, but whoever vomits intentionally must make up the day." Related by the five Imams. (RU)
English reference (RU): Book 5, Hadith 692 (RU)
Arabic reference (RU): Book 5, Hadith 671 (RU)