Deuteronomy 17:4; Deuteronomy 19:18

and it is told you and you hear of it, then you shall inquire odiligently, and if it is true and certain that such an abomination has been done in Israel,

18 The judges shall einquire diligently, and if the witness is a false witness and has accused his brother falsely,