I attended the 'Id (prayer) along with 'Umar. He offered prayer before the sermon. He then said: The Messenger of Allah (ﷺ) prohibited fasting on these two days. As regards Id al-Adha, you eat the meat of your sacrificial animals. As for 'Id al-Fitr, you break (i.e. end) your fast.
Sunan Abi Dawud Book 14, Hadith 104