Sahih al-Bukhari 985
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ ذَبَحَ قَبْلَ أَنْ يُصَلِّيَ فَلْيَذْبَحْ أُخْرَى مَكَانَهَا، وَمَنْ لَمْ يَذْبَحْ فَلْيَذْبَحْ بِاسْمِ اللَّهِ "
Narrated Jundab:
On the day of Nahr the Prophet (ﷺ) offered the prayer and delivered the Khutba and then slaughtered the sacrifice and said, "Anybody who slaughtered (his sacrifice) before the prayer should slaughter another animal in lieu of it, and the one who has not yet slaughtered should slaughter the sacrifice mentioning Allah's name on it."
Full reference and source
Sahih al-Bukhari 985 In-book : Book 13, Hadith 34 USC-MSA web (English) : Vol. 2, Book 15, Hadith 101 (deprecated)
View source on Sunnah.com (opens in a new tab)