Anyone who has sexual intercourse with a beast, a dead or living woman below the vagina, a female slave who owns some of it, or his sister who owns some of it, or his wife during her menstruation or anus, or masturbates with his hand, or a woman masturbates with a woman, shall not be subject to the hadd but shall be subject to a fine.
ومن وطيء بهيمة أو امرأة ميتة أو حية فيما دون الفرج أو جارية يملك بعضها أو أخته المملوكة له اروطى، زوجته في الحيض أو الدبر أو استمنى بيده أو أنت المرأة المرأة لا حد عليه ويعزرا. - Fiqh Umdat o12.3 (islam)
Hadith Abu Dawud 4464 (en en2) Zoophilia (3) If anyone has sexual intercourse with an animal, kill him and kill it along with him
Chapter: One who has intercourse with an animal
Narrated Abdullah ibn Abbas:
The Prophet (ﷺ) said: If anyone has sexual intercourse with an animal, kill him and kill it along with him. I (Ikrimah) said: I asked him (Ibn Abbas): What offence can be attributed to the animal/ He replied: I think he (the Prophet) disapproved of its flesh being eaten when such a thing had been done to it. Abu Dawud said: This is not a strong tradition. - Hadith Abu Dawud 4464 (islam)
Hadith Ibn Majah 2564 (en en2) Chapter: One Who Has Intercourse With A Mahram Relative And One Who Has Intercourse With An Animal
It was narrated from Ibn`Abbas that the Messenger of Allah (ﷺ) said:
“Whoever has intercourse with a Mahram relative, kill him; and whoever has intercourse with an animal, kill him, and kill the animal.” - Hadith Ibn Majah 2564 (islam)
Bible Exodus 22:19 (en) Zoophilia (3) Anyone who has sexual relations with an animal is to be put to death.
Whosoever lieth with a beast shall surely be put to death. - Bible Exodus 22:19 (bible torah)