Deuteronomy 17:9

So you shall come to the Levitical priests or to the judge who is in office at that time, and you shall consult them and they will declare to you the verdict in the case.

Ezekiel 44:24

In a controversy they shall take their stand to act as judges; they shall judge it in accordance with My ordinances. They shall also keep My laws and My statutes in all My appointed feasts and sanctify My Sabbaths.

Jeremiah 18:18

Then [my enemies] said, “Come and let us work out schemes against Jeremiah. Surely the law is not going to be lost to the priest [as Jeremiah predicts], nor the counsel from the wise, nor the word from the prophet. Come and let us strike him with our tongue [by making charges against him before the king], and let us ignore anything he says.”

Haggai 2:11

“Thus says the Lord of hosts, ‘Ask the priests for a ruling:

Malachi 2:7

For the lips of the priest should guard and preserve knowledge [of My law], and the people should seek instruction from his mouth; for he is the messenger of the Lord of hosts.

Deuteronomy 19:17-21

then both parties to the controversy shall stand before the Lord, before the priests and the judges who will be in office at that time.

Treasury of Scripture Knowledge

Summary

And thou shalt come unto the priests the Levites, and unto the judge that shall be in those days, and inquire; and they shall shew thee the sentence of judgment:

Bible References

The priests

Jeremiah 18:18
Then [my enemies] said, “Come and let us work out schemes against Jeremiah. Surely the law is not going to be lost to the priest [as Jeremiah predicts], nor the counsel from the wise, nor the word from the prophet. Come and let us strike him with our tongue [by making charges against him before the king], and let us ignore anything he says.”
Haggai 2:11
“Thus says the Lord of hosts, ‘Ask the priests for a ruling:
Malachi 2:7
For the lips of the priest should guard and preserve knowledge [of My law], and the people should seek instruction from his mouth; for he is the messenger of the Lord of hosts.

They shall

Deuteronomy 19:17
then both parties to the controversy shall stand before the Lord, before the priests and the judges who will be in office at that time.
Ezekiel 44:24
In a controversy they shall take their stand to act as judges; they shall judge it in accordance with My ordinances. They shall also keep My laws and My statutes in all My appointed feasts and sanctify My Sabbaths.

General references

Numbers 27:2
They stood before Moses, Eleazar the priest, the leaders, and all the congregation at the doorway of the Tent of Meeting (tabernacle), saying,
Deuteronomy 19:17
then both parties to the controversy shall stand before the Lord, before the priests and the judges who will be in office at that time.
Deuteronomy 25:1
“If there is a controversy between men, and they go to court, and the judges decide [the issue] between them, and they judge in favor of the innocent and condemn the guilty,
John 7:51
“Does our Law convict someone without first giving him a hearing and finding out what he is [accused of] doing?”