I attended the Eid prayer on the Day of Sacrifice with the Prophet ﷺ. He then delivered a sermon and said, "Whoever slaughtered before we prayed must repeat his sacrifice, and whoever has not yet slaughtered, let him slaughter in the name of Allah ."
حدثنا يزيد أخبرنا شعبة عن الأسود بن قيس قال سمعت
شهدت مع النبي ﷺ العيد يوم النحر ثم خطب فقال من ذبح قبل أن نصلي فليعد أضحيته ومن لم يذبح فليذبح على اسم الله عز وجل