Deuteronomy 19:16

19:16 If a false witness testifies against another person and accuses him of a crime,

Deuteronomy 19:19

19:19 you must do to him what he had intended to do to the accused. In this way you will purge evil from among you.