Sahih al-Bukhari 965
Adam (bin Abi Iyas) narrated to us, he said: Shu'bah narrated to us. He said: Zubaid (bin Harith) narrated to us, he said: I heard Sha'bi that it is narrated from Hazrat Bara bin Azib. He said: The Prophet (saw) said: “The first thing we do on this festival of ours is that we offer the Prayer, then we go back and offer the sacrifice. So whoever does this has followed our way exactly. And whoever slaughtered before the Prayer, it is only meat which he has provided for his family; it has nothing to do with the sacrifice.” At this a man of the Ansar, who was called Hazrat Abu Burdah bin Niyar (ra), said: O Messenger of Allah (saw)! I have already slaughtered. Now I have a one-year-old young she-goat which is better than a two-year-old goat. He said: “Slaughter it in its place. This permission will not avail anyone after you.”
AI-translated by Islam-Today