Maliks Muwatta Book 24, Hadith Number 7.
Section : What is Disapproved of in Slaughtering Animals.
Yahya related to me from Malik from Yahya ibn Said that Abu Murra, the mawla of Aqil ibn Abi Talib asked Abu Hurayra about a sheep which was slaughtered and then part of it moved. He ordered him to eat it. Then he asked Zayd ibn Thabit about it, and he said, “Does a corpse move?” and he forbade eating its meat.
Malik was asked about a sheep which fell down and injured itself badly and then its master reached it and slaughtered it. Blood flowed from it but it did not move. Malik said, “If he kills it and blood flows from it and its eyes blink, he should eat it.”