I attended the sacrifice with the Messenger of Allah ﷺ. As soon as he had prayed and finished his prayer, he gave the salam, and then he saw the meat of sacrificial animals that had been slaughtered before he completed the prayer. He said, "Whoever slaughtered his sacrifice before he prayed, or before we prayed, let him slaughter another in its place. And whoever has not yet slaughtered, let him slaughter in the name of Allah."
حدثنا أحمد بن يونس حدثنا زهير حدثنا الأسود بن قيس ح و حدثناه يحيى بن يحيى أخبرنا أبو خيثمة عن الأسود بن قيس
شهدت الأضحى مع رسول الله ﷺ فلم يعد أن صلى وفرغ من صلاته سلم فإذا هو يرى لحم أضاحي قد ذبحت قبل أن يفرغ من صلاته فقال من كان ذبح أضحيته قبل أن يصلي أو نصلي فليذبح مكانها أخرى ومن كان لم يذبح فليذبح باسم الله