Al-Bara’ reported God’s Messenger as saying, “If anyone sacrifices before the prayer, he is sacrificing only for himself; but if anyone sacrifices after the prayer, his rites are complete and he has correctly followed the practice of the Muslims."
Anas said that when the Prophet came to Medina the people had two days on which they engaged in games. Having asked what their significance was and being told that they had engaged in games on them in the pre-Islamic period, he said, “God has substituted for them something better than them, the day of sacrifice and the day of the breaking of the fast.”
Jundub b. ‘Abdallah al-Bajali reported God’s Messenger as saying, “If anyone sacrifices before the prayer, he must sacrifice another animal in place of it; but anyone who does not sacrifice till we have prayed must then sacrifice in God’s name."