Hadith 12:279
'Abbad ibn al-'Awwam narrated to us, from Hajjaj, from 'Ata', who said: If it is slaughtered and it moves a tail, or an eyelid, or a leg, then it is lawful (dhabihah).
حدثنا عباد بن العوام عن حجاج عن عطاء قال إذا ذكيت فحركت ذنبا أو طرفا أو رجلا فهي ذكية