Sunan Ibn Majah, Book 25, Hadith 225 (Ibn Majah 3108)

It was narrated that Najiyah Al-Khuza’i – in his narration, ‘Amr (one of the narrators) said that he was the one who looked after the sacrificial animals of the Prophet (ﷺ) – said:

“I said: ‘O Messenger of Allah, what should I do with those sacrificial animals that become unfit?’ He said: ‘Slaughter them, dip its sandal in its blood, then place it on its side, and leave them for the people to eat.’”