Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1969aʿAbd al-Jabbār b. al-ʿAlāʾ > Sufyān > al-Zuhrī > Abū ʿUbayd > Shahidt al-ʿĪd Maʿ ʿAlī b. Abū Ṭālib Fabadaʾ Bi-al-Ṣṣalāh Qabl al-Khuṭbah

I was with 'Ali b. Abi Talib on the occasion of the 'Id day. He started with the 'Id prayer before delivering the sermon, and said: Messenger of Allah ﷺ forbade us to eat the flesh of our sacrificial animals beyond three days.  

مسلم:١٩٦٩aحَدَّثَنِي عَبْدُ الْجَبَّارِ بْنُ الْعَلاَءِ حَدَّثَنَا سُفْيَانُ حَدَّثَنَا الزُّهْرِيُّ عَنْ أَبِي عُبَيْدٍ قَالَ شَهِدْتُ الْعِيدَ مَعَ عَلِيِّ بْنِ أَبِي طَالِبٍ فَبَدَأَ بِالصَّلاَةِ قَبْلَ الْخُطْبَةِ

وَقَالَ إِنَّ رَسُولَ اللَّهِ ﷺ نَهَانَا أَنْ نَأْكُلَ مِنْ لُحُومِ نُسُكِنَا بَعْدَ ثَلاَثٍ