Messenger of Allah ﷺ led us in the 'Id prayer in Medina on the Day of Sacrifice. Some persons slaughtered their animals ahead of him under the impression that Allah's Apostle ﷺ had-already offered sacrifice. Thereupon Allah's Apostle ﷺ said: Those who had slaughtered their animals ahead of him should slaughter the other ones in their stead. And they should not sacrifice the animal before Messenger of Allah ﷺ had sacrificed (his animal) (Using translation from Muslim 1964)
صَلَّى بِنَا رَسُولُ اللهِ ﷺ يَوْمَ النَّحْرِ بِالْمَدِينَةِ فَتَقَدَّمَ رَجُلَانِ فَنَحَرُوا وَظَنُّوا أَنَّ النَّبِيَّ ﷺ قَدْ نَحَرَ فَأَمَرَ النَّبِيُّ ﷺ مَنْ كَانَ نَحَرَ قَبْلَهُ أَنْ يُعِيدَ بِنَحْرٍ آخَرَ وَلَا يَنْحَرُوا حَتَّى يَنْحَرَ النَّبِيُّ ﷺ