(Deuteronomy 19) 16 If a false witness rise up against any man to testify against him that which is wrong; 17 Then both the men, between whom the controversy is, shall stand before the LORD, before the priests and the judges, which shall be in those days; 18 And the judges shall make diligent inquisition: and, behold, if the witness be a false witness, and hath testified falsely against his brother; 19 Then shall ye do unto him, as he had thought to have done unto his brother: so shalt thou put the evil away from among you.
(Leviticus 20) 13 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.