The Rambam · Sefer Shoftim
הלכות עדות י״אTestimony 11
Chapter 11 of 22 in Testimony — 10 halachot
Halacha 1א׳
מִי שֶׁאֵינוֹ לֹא בְּמִקְרָא וְלֹא בְּמִשְׁנָה וְלֹא בְּדֶרֶךְ אֶרֶץ הֲרֵי זֶה בְּחֶזְקַת רָשָׁע וּפָסוּל לְעֵדוּת מִדִּבְרֵיהֶם. שֶׁכָּל מִי שֶׁיָּרַד עַד כָּךְ חֲזָקָה שֶׁהוּא עוֹבֵר עַל רֹב הָעֲבֵרוֹת שֶׁיָּבוֹאוּ לְיָדוֹ:
One who has neither Scripture nor Mishnah nor derech eretz, decent conduct, is presumed wicked and is disqualified for testimony from their words; for anyone who has descended so far is presumed to transgress most of the transgressions that come to his hand.
Halacha 2ב׳
לְפִיכָךְ אֵין מוֹסְרִין עֵדוּת לְעַם הָאָרֶץ וְאֵין מְקַבְּלִין מִמֶּנּוּ עֵדוּת אֶלָּא אִם כֵּן הֻחְזַק שֶׁהוּא עוֹסֵק בְּמִצְוֹת וּבִגְמִילוּת חֲסָדִים וְנוֹהֵג בְּדַרְכֵי הַיְשָׁרִים וְיֵשׁ בּוֹ דֶּרֶךְ אֶרֶץ מְקַבְּלִין עֵדוּתוֹ אַף עַל פִּי שֶׁהוּא עַם הָאָרֶץ וְאֵינוֹ לֹא בְּמִקְרָא וְלֹא בְּמִשְׁנָה:
Therefore testimony is not entrusted to an unlettered man, nor is testimony accepted from him, unless it is established that he occupies himself with the commandments and with deeds of kindness, conducts himself in the ways of the upright, and has decent conduct in him; then his testimony is accepted, even though he is an unlettered man and has neither Scripture nor Mishnah.
Halacha 3ג׳
נִמְצֵאתָ אוֹמֵר כָּל תַּלְמִיד חָכָם בְּחֶזְקַת כָּשֵׁר עַד שֶׁיִּפָּסֵל. כָּל עַם הָאָרֶץ בְּחֶזְקַת שֶׁהוּא פָּסוּל עַד שֶׁיֻּחְזַק שֶׁהוּא הוֹלֵךְ בְּדַרְכֵי הַיְשָׁרִים:
You find yourself saying: every Torah scholar is presumed fit until he is disqualified; every unlettered man is presumed disqualified until it is established that he walks in the ways of the upright.
Mishneh Torah, Torat Emet 363 edition, via Sefaria — public domain
English: rendered from the Hebrew for this app — our own, not a borrowed translation