Deuteronomy 17:9

NIV
New International Version

9Go to the Levitical priests and to the judge who is in office at that time. Inquire of them and they will give you the verdict.