Messenger of Allah ﷺ addressed us on the day of Nahr and said: None should sacrifice the animal unless he has completed the ('Id) prayer. A person said: I have a milch goat of less than one year, better than two fat goats. Thereupon he said: Sacrifice it, and no goat of less than a year of age will be accepted as sacrifice after you.
خَطَبَنَا رَسُولُ اللَّهِ ﷺ فِي يَوْمِ نَحْرٍ فَقَالَ لاَ يُضَحِّيَنَّ أَحَدٌ حَتَّى يُصَلِّيَ قَالَ رَجُلٌ عِنْدِي عَنَاقُ لَبَنٍ هِيَ خَيْرٌ مِنْ شَاتَىْ لَحْمٍ قَالَ فَضَحِّ بِهَا وَلاَ تَجْزِي جَذَعَةٌ عَنْ أَحَدٍ بَعْدَكَ