Devarim / Deuteronomy 1:17
לֹא־תַכִּירוּ פָנִים בַּמִּשְׁפָּט כַּקָּטֹן כַּגָּדֹל תִּשְׁמָעוּן לֹא תָגוּרוּ מִפְּנֵי־אִישׁ כִּי הַמִּשְׁפָּט לֵאלֹהִים הוּא וְהַדָּבָר אֲשֶׁר יִקְשֶׁה מִכֶּם תַּקְרִבוּן אֵלַי וּשְׁמַעְתִּיו׃
Do not show favour in judgement: hear the small and the great alike. Do not be afraid of any man, for the judgement is the Almighty's. And the case that is too hard for you, bring to me, and I will hear it."
Pshat פְּשָׁט
Whom to seat as judge
Rashi: "do not show favour" is said also to the one who appoints judges: whoever seats a handsome, strong or related man who does not know the law is as if he himself judged with favour. "Hear the small and the great alike": a case over a tiny coin must be as dear as a case over a large sum. One may not acquit the poor man out of pity, nor the rich man to spare his honour.
How Rashi explain it
Remez רֶמֶז
Twice "hear"
Kitzur Ba'al HaTurim: the word "hear" (תִּשְׁמָעוּן) appears twice, the second time about a prophet: "him you shall hear". Though one must hear the small as the great, the case of a prophet or a Torah scholar is heard first. Agra DeKala: the doubled "as" (כְּ) makes each equal to the other. A judge may prefer to hear the big case, or the small one because it is less trouble, and the Torah warns against both.
How Kitzur Ba'al HaTurim and Agra DeKala explain it
Drash דְּרָשׁ
The judgement is the Almighty's
Talmud: "the small and the great alike": a case over a tiny coin must be taken up in its turn, like a case over a large sum. "The judgement is the Almighty's": when judges take money unjustly, the Holy One, blessed is He, must Himself return it to its owner. And for the words "bring it to me and I will hear it" Moshe was punished: the case of the daughters of Tzelofchad (Zelophehad) he could not decide himself and brought it before the Eternal.
How Talmud, Sanhedrin explain it
Sod סוֹד
Why the call from above is not heard
Ba'al Shem Tov: every day a call sounds from above that wakes hearts to return. It is hard to believe it can be heard. "The matter that is hard for you": the barrier is in you, the coarseness of the body stands as a partition. "Bring it to me": come close to the level of Moshe (Moses), take off the "shoe", the coarseness of the body, and then "I will hear", and the call becomes audible.
How Ba'al Shem Tov explain it