Deuteronomy 17:9 CEB

9 Go to the levitical priests and to the head judge in office at that time and look into things there. They will announce to you the correct ruling.