We used to not keep the meat of sacrificial animals for more than three days. Then the Messenger of Allah ﷺ commanded us to take provisions from it and eat from it, meaning beyond three days.
حدثنا إسحق بن إبراهيم أخبرنا زكرياء بن عدي عن عبيد الله بن عمرو عن زيد بن أبي أنيسة عن عطاء بن أبي رباح
كنا لا نمسك لحوم الأضاحي فوق ثلاث فأمرنا رسول الله ﷺ أن نتزود منها ونأكل منها يعني فوق ثلاث