Deuteronomy 17:8-10

MLV(i) 8 If there arise a matter too hard for you in judgment, between blood and blood, between plea and plea and between stroke and stroke, being matters of controversy within your gates, then you will arise and get you up to the place which Jehovah your God will choose. 9 And you will come to the priests the Levites and to the judge who will be in those days and you will inquire. And they will show you the sentence of judgment.
10 And you will do according to the tenor of the sentence which they will show you from that place which Jehovah will choose. And you will observe to do according to all that they will teach you,