כָּל דַּיָּן שֶׁדָּן דִּינֵי מָמוֹנוֹת וְטָעָה אִם טָעָה בַּדְּבָרִים הַגְּלוּיִים וְהַיְדוּעִים כְּגוֹן דִּינִין הַמְפֹרָשִׁין בַּמִּשְׁנָה אוֹ בַּגְּמָרָא חוֹזֵר הַדִּין וּמַחְזִירִין הַדָּבָר כְּשֶׁהָיָה וְדָנִין בּוֹ כַּהֲלָכָה. וְאִם אִי אֶפְשָׁר לְהַחְזִיר כְּגוֹן שֶׁהָלַךְ זֶה שֶׁנָּטַל הַמָּמוֹן שֶׁלֹּא כַּדִּין לִמְדִינַת הַיָּם אוֹ שֶׁהָיָה אַלָּם אוֹ שֶׁטִּמֵּא דָּבָר טָהוֹר אוֹ שֶׁהוֹרָה בִּכְשֵׁרָה שֶׁהִיא טְרֵפָה וְהֶאֱכִילָהּ לַכְּלָבִים וְכַיּוֹצֵא בָּזֶה הֲרֵי זֶה פָּטוּר מִלְּשַׁלֵּם. אַף עַל פִּי שֶׁגָּרַם לְהַזִּיק לֹא נִתְכַּוֵּן לְהַזִּיק:
The following laws apply whenever a judge adjudicates a case involving financial matters and errs. If his error involves matters that are revealed and known - e.g., a law that is explicitly stated in the Mishnah or the Gemara, the ruling is reversed. The situation is returned to its original status and the judgment required by halachah is rendered. If it is impossible to return the matter to its original status, e.g., the person who unwarrantedly received the money traveled overseas, or he was a stubborn and strong person, the judge is not liable. Although he caused a loss, he did not have the intent of doing so. Similar laws apply if a judge ruled that a substance that was pure was impure, that an animal that was kosher was unacceptable and had it fed to the dogs, or the like.
