Al-Ilmam bi-Ahadith al-Ahkam 654
وَعَن ابْن عَبَّاس رَضِيَ اللَّهُ عَنْهما، أَن ذؤيباً أَبَا قبيصَة حدَّثه: " أَن رَسُول الله ﷺ كَانَ يبْعَث مَعَه بالبُدن، ثمَّ يَقُول: إِن عطب مِنْهَا شَيْء فَخَشِيت عَلَيْهِ موتا فانحرها، ثمَّ اغمس نعلها فِي دَمهَا ثمَّ اضْرِب (بِهِ) صفحتها وَلَا تطْعَمْها أَنْت وَلَا أحد من (أهل) رفقتك ". أخرجه مُسلم، (وَابْن ماجة) .
From Ibn ʿAbbas, may Allah be pleased with them both, that Dhuʾayb Abu Qabisah narrated to him: "The Messenger of Allah ﷺ used to send sacrificial camels with him, then say: 'If any of them breaks down and you fear it will die, slaughter it, then dip its sandal in its blood, then strike its side with it, and do not eat from it, neither you nor any of your travelling companions.'" Muslim and Ibn Majah recorded it.