Numbers 15:33-34

15:33 Those who found him gathering wood brought him to Moses and Aaron and to the whole community. 15:34 They put him in custody, because there was no clear instruction about what should be done to him.

Exodus 18:13-14

18:13 On the next day Moses sat to judge the people, and the people stood around Moses from morning until evening. 18:14 When Moses’ father-in-law saw all that he was doing for the people, he said, “What is this that you are doing for the people? Why are you sitting by yourself, and all the people stand around you from morning until evening?”

Exodus 18:19-26

18:19 Now listen to me, I will give you advice, and may God be with you: You be a representative for the people to God, and you bring their disputes to God; 18:20 warn them of the statutes and the laws, and make known to them the way in which they must walk and the work they must do. 18:21 But you choose from the people capable men, God-fearing, men of truth, those who hate bribes, and put them over the people as rulers of thousands, rulers of hundreds, rulers of fifties, and rulers of tens. 18:22 They will judge the people under normal circumstances, and every difficult case they will bring to you, but every small case they themselves will judge, so that you may make it easier for yourself, and they will bear the burden with you. 18:23 If you do this thing, and God so commands you, then you will be able to endure, and all these people will be able to go home satisfied.”

18:24 Moses listened to his father-in-law and did everything he had said. 18:25 Moses chose capable men from all Israel, and he made them heads over the people, rulers of thousands, rulers of hundreds, rulers of fifties, and rulers of tens. 18:26 They judged the people under normal circumstances; the difficult cases they would bring to Moses, but every small case they would judge themselves.

Deuteronomy 17:8-10

Appeal to a Higher Court

17:8 If a matter is too difficult for you to judge – bloodshed, legal claim, or assault – matters of controversy in your villages – you must leave there and go up to the place the Lord your God chooses. 17:9 You will go to the Levitical priests and the judge in office in those days and seek a solution; they will render a verdict. 17:10 You must then do as they have determined at that place the Lord chooses. Be careful to do just as you are taught.