From the Book of Leviticus. Leviticus establishes laws for sacrifices, the conduct of priests, and the maintenance of a state of holiness.
And the man that committeth adultery with another man’s wife, even he that committeth adultery with his neighbour’s wife, the adulterer and the adulteress shall surely be put to death. And the man that lieth with his father’s wife hath uncovered his father’s nakedness: both of them shall surely be put to death; their blood shall be upon them. If a man also lie with mankind, as he lieth with a woman, both of them have committed an abomination: they shall surely be put to death; their blood shall be upon them. And if a man lie with a beast, he shall surely be put to death: and ye shall slay the beast. And if a woman approach unto any beast, and lie down thereto, thou shalt kill the woman and the beast: they shall surely be put to death; their blood shall be upon them. And if a man shall lie with a woman having her sickness, and shall uncover her nakedness: he hath discovered her fountain, and she hath uncovered the fountain of her blood; and both of them shall be cut off from among their people.