O people, the Messenger of Allah ﷺ forbade fasting on these two days (i.e., the two Eids). On the first of them you break your fast and celebrate your festival, and on the second you eat from the meat of your sacrifices. It was narrated that Sa'd Abu 'Ubaid, the freed slave of ‘Abdur-Rahman bin Azhar, said: I was present at Eid with 'Umar bin al Khattab... and he mentioned a similar hadeeth.
أَنْ يَخْطُبَ بِلا أَذَانٍ وَلا إِقَامَةٍ ثُمَّ خَطَبَ فَقَالَ يَا أَيُّهَا النَّاسُ إِنَّ رَسُولَ اللهِ ﷺ نَهَى عَنْ صِيَامِ هَذَيْنِ الْيَوْمَيْنِ أَمَّا أَحَدُهُمَا فَيَوْمُ فِطْرِكُمْ مِنْ صِيَامِكُمْ وَعِيدُكُمْ وَأَمَّا الْآخَرُ فَيَوْمٌ تَأْكُلُونَ فِيهِ مِنْ نُسُكِكُمْ