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