Mishkat al-Masabih 1472
عَن جُنْدُب بن عبد الله قَالَ: شَهِدْتُ الْأَضْحَى يَوْمَ النَّحْرِ مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَلَمْ يَعْدُ أَن صلى وَفرغ من صلَاته وَسلم فَإِذا هُوَ يرى لَحْمَ أَضَاحِيٍّ قَدْ ذُبِحَتْ قَبْلَ أَنْ يَفْرَغَ مِنْ صَلَاتِهِ فَقَالَ: «مَنْ كَانَ ذَبَحَ قَبْلَ أَنْ يُصَلِّيَ أَوْ نُصَلِّيَ فَلْيَذْبَحْ مَكَانَهَا أُخْرَى» . وَفِي رِوَايَةٍ: قَالَ صَلَّى النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَوْمَ النَّحْرِ ثُمَّ خَطَبَ ثُمَّ ذَبَحَ وَقَالَ: «مَنْ كَانَ ذَبَحَ قَبْلَ أَنْ يُصَلِّيَ فَلْيَذْبَحْ أُخْرَى مَكَانَهَا وَمَنْ لَمْ يَذْبَحْ فليذبح باسم الله»
From Jundub ibn ʿAbdullah, who said: I attended al-Adha on the Day of Sacrifice with the Messenger of Allah ﷺ. As soon as he had prayed, finished his prayer and said the salam, he saw the meat of sacrifices that had been slaughtered before he finished his prayer. He said: "Whoever slaughtered before he prayed — or before we prayed — let him slaughter another in its place." And in a narration: He said: The Prophet ﷺ prayed on the Day of Sacrifice, then gave the khutbah, then slaughtered, and said: "Whoever slaughtered before he prayed, let him slaughter another in its place; and whoever has not slaughtered, let him slaughter in the name of Allah."