Deuteronomy 17:9 NIV

9 Go 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.

References for Deuteronomy 17:9