Sahih Muslim , Book 35, Hadith 18 (In-Book) ⓘ
Anas b. Malik reported: Allah's Messenger addressed us on the day of 'Id al-Adha. He smelt the odour of flesh and he prohibited thern from slaughtering (the animals before the 'Id prayer), saying: He who slaughtered the animals (before the 'Id prayer) should do that again (as it is not valid as a sacrifice).
وَحَدَّثَنِي زِيَادُ بْنُ يَحْيَى الْحَسَّانِيُّ، حَدَّثَنَا حَاتِمٌ، - يَعْنِي ابْنَ وَرْدَانَ - حَدَّثَنَا أَيُّوبُ، عَنْ مُحَمَّدِ بْنِ سِيرِينَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ خَطَبَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم يَوْمَ أَضْحًى - قَالَ - فَوَجَدَ رِيحَ لَحْمٍ فَنَهَاهُمْ أَنْ يَذْبَحُوا قَالَ " مَنْ كَانَ ضَحَّى فَلْيُعِدْ " . ثُمَّ ذَكَرَ بِمِثْلِ حَدِيثِهِمَا .
also referenced under: Hadith 1962 (Reference) & Book 22, Hadith 4835 (USC-MSA)