Deuteronomy 17:4

4and it is told you and you hear of it, then you shall inquire a  diligently, and if it is true and certain that such an abomination has been done in Israel,
Copyright information for ESV