Leviticus 18:22-30

18:22 You must not have sexual intercourse with a male as one has sexual intercourse with a woman; it is a detestable act. 18:23 You must not have sexual intercourse with any animal to become defiled with it, and a woman must not stand before an animal to have sexual intercourse with it; it is a perversion.

Warning against the Abominations of the Nations

18:24 “‘Do not defile yourselves with any of these things, for the nations which I am about to drive out before you have been defiled with all these things. 18:25 Therefore the land has become unclean and I have brought the punishment for its iniquity upon it, so that the land has vomited out its inhabitants. 18:26 You yourselves must obey my statutes and my regulations and must not do any of these abominations, both the native citizen and the resident foreigner in your midst, 18:27 for the people who were in the land before you have done all these abominations, and the land has become unclean. 18:28 So do not make the land vomit you out because you defile it just as it has vomited out the nations that were before you. 18:29 For if anyone does any of these abominations, the persons who do them will be cut off from the midst of their people. 18:30 You must obey my charge to not practice any of the abominable statutes that have been done before you, so that you do not defile yourselves by them. I am the Lord your God.’”