Deuteronomy 17:6

17:6 At the testimony of two or three witnesses they must be executed. They cannot be put to death on the testimony of only one witness.

Deuteronomy 19:18

19:18 The judges will thoroughly investigate the matter, and if the witness should prove to be false and to have given false testimony against the accused,