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)
أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللهِ يَقُولُ صَلَّى النَّبِيُّ ﷺ بِنَا يَوْمَ النَّحْرِ بِالْمَدِينَةِ فَتَقَدَّمَ رِجَالٌ فَنَحَرُوا وَظَنُّوا أَنَّ النَّبِيَّ ﷺ قَدْ نَحَرَ فَأَمَرَ مَنْ كَانَ قَدْ نَحَرَ قَبْلَهُ أَنْ يُعِيدَ بِنَحْرٍ آخَرَ وَلَا وَلَا يَنْحَرُوا حَتَّىيَنْحَرَ النَّبِيُّ ﷺ