כָּל הַנִּפְסָל בַּעֲבֵרָה אִם הֵעִידוּ עָלָיו שְׁנֵי עֵדִים שֶׁעָשָׂה עֲבֵרָה פְּלוֹנִית אַף עַל פִּי שֶׁלֹּא הִתְרוּ בּוֹ שֶׁהֲרֵי אֵינוֹ לוֹקֶה הֲרֵי זֶה פָּסוּל לְעֵדוּת. בַּמֶּה דְּבָרִים אֲמוּרִים כְּשֶׁעָבַר עַל דְּבָרִים שֶׁפָּשַׁט בְּיִשְׂרָאֵל שֶׁהֵן עֲבֵרָה. כְּגוֹן שֶׁנִּשְׁבַּע לַשֶּׁקֶר אוֹ לַשָּׁוְא אוֹ גָּזַל אוֹ גָּנַב אוֹ אָכַל נְבֵלָה וְכַיּוֹצֵא בּוֹ. אֲבָל אִם רָאוּהוּ עֵדִים עוֹבֵר עַל דָּבָר שֶׁקָּרוֹב הָעוֹשֶׂה לִהְיוֹת שׁוֹגֵג צְרִיכִין לְהַזְהִירוֹ וְאַחַר כָּךְ יִפָּסֵל. כֵּיצַד. רָאוּהוּ קוֹשֵׁר אוֹ מַתִּיר בְּשַׁבָּת צְרִיכִין לְהוֹדִיעוֹ שֶׁזֶּה חִלּוּל שַׁבָּת מִפְּנֵי שֶׁרֹב הָעָם אֵינָן יוֹדְעִין זֶה. וְכֵן אִם רָאוּהוּ עוֹשֶׂה מְלָאכָה בְּשַׁבָּת אוֹ בַּיּוֹם טוֹב צְרִיכִין לְהוֹדִיעוֹ שֶׁהַיּוֹם שַׁבָּת שֶׁמָּא שׁוֹכֵחַ הוּא. וְכֵן הַמְשַׂחֵק בְּקֻבִּיָּא תָּמִיד אוֹ מִי שֶׁנַּעֲשָׂה מוֹכֵס אוֹ גַּבַּאי שֶׁמּוֹסִיף לְעַצְמוֹ צְרִיכִין הָעֵדִים לְהוֹדִיעוֹ שֶׁהָעוֹשֶׂה דָּבָר זֶה פָּסוּל לְעֵדוּת. שֶׁרֹב הָעָם אֵינָן יוֹדְעִים דְּבָרִים אֵלּוּ. וְכֵן כָּל כַּיּוֹצֵא בָּזֶה. כְּלָלוֹ שֶׁל דָּבָר כָּל עֲבֵרָה שֶׁהַדְּבָרִים מַרְאִים לָעֵדִים שֶׁזֶּה יָדַע שֶׁהוּא רָשָׁע וְעָבַר בְּזָדוֹן אַף עַל פִּי שֶׁלֹּא הִתְרוּ בּוֹ הֲרֵי זֶה פָּסוּל לְעֵדוּת וְאֵינוֹ לוֹקֶה:
Whenever a person is disqualified as a witness for committing a transgression, he is disqualified if two witnesses testify that he committed a transgression despite the fact that they did not warn him and hence, he does not receive lashes. When does the above apply? When the person committed a transgression that is universally known among the Jewish people to be a sin, e.g., he took a false or an unnecessary oath, he robbed, he stole, he ate meat from an animal that was not slaughtered in a ritual manner, or the like. Different rules apply, however, if the witnesses see him transgress a prohibition which he most likely violated unknowingly. In such an instance, they must warn him. Afterwards, if he transgresses, he is disqualified. What is implied? If witnesses saw a person tying or untying a knot on the Sabbath, they must inform him that this desecrates the Sabbath, because most people are unaware of this. Similarly, if they see him performing a forbidden labor on the Sabbath or a festival, they must inform him that the day is the Sabbath or the festival, lest he have forgotten. Similarly, if a person gambles continually, becomes a collector of the king's duty, or a tax collector who takes more for himself, the witnesses must inform him that a person who does this is not acceptable as a witness. For the majority of the people are unaware of this matter. Similar laws apply in all analogous situations. The general principle is: Whenever it appears to the witnesses that the person committing the transgression knew that he was acting wickedly and transgressed deliberately, he is not acceptable as a witness even though he was not given a warning and hence, does not receive lashes.
