It is narrated from Basheer bin Yasar (may Allah have mercy on him) that Sayyiduna Abu Burdah bin Niyar (may Allah be pleased with him) performed the sacrifice on the occasion of Eid al-Adha before the Messenger of Allah ﷺ (i.e., before the prayer). So people thought that the Messenger of Allah ﷺ ordered him to offer another sacrifice. Upon this, Abu Burdah (may Allah be pleased with him) submitted: I have only a one-year-old animal left. The Messenger of Allah ﷺ said: "If you do not find anything else, then sacrifice the one-year-old animal."
Hadith Referenceالسنن المأثورة / باب من أعتق شركا له في عبد / 555
Hadith Takhrijسنن نسائی، الضحايا، باب ذبح الضحية قبل الامام، رقم: 4397 وقال الالباني: صحيح الاسناد؛ مسند احمد: 151/25، رقم: 15830 وقال الارنوؤط: حديث صحيح وهذا اسناد رجاله ثقات۔