Sunan Ibn Majah, Volume 4, Book 25, Hadith 3105 (DarusSalam) ⓘ
It was narrated from Ibn ‘Abbas that Dhu’aib Al-Khuza’i narrated that the Prophet used to send the sacrificial animals with him, then he would say: “If any of them becomes unfit and you are afraid that it will die, then slaughter it, dip the sandal (tied around its neck) in its blood and place it on its side, but neither you nor any of your companions should eat anything from it.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ بِشْرٍ الْعَبْدِيُّ، حَدَّثَنَا سَعِيدُ بْنُ أَبِي عَرُوبَةَ، عَنْ قَتَادَةَ، عَنْ سِنَانِ بْنِ سَلَمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ ذُؤَيْبًا الْخُزَاعِيَّ، حَدَّثَ أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ كَانَ يَبْعَثُ مَعَهُ بِالْبُدْنِ ثُمَّ يَقُولُ " إِذَا عَطِبَ مِنْهَا شَىْءٌ فَخَشِيتَ عَلَيْهِ مَوْتًا فَانْحَرْهَا ثُمَّ اغْمِسْ نَعْلَهَا فِي دَمِهَا ثُمَّ اضْرِبْ صَفْحَتَهَا وَلاَ تَطْعَمْ مِنْهَا أَنْتَ وَلاَ أَحَدٌ مِنْ أَهْلِ رُفْقَتِكَ " .
also referenced under: Hadith 3105 (Reference) & Book 25, Hadith 3224 (In-Book)