The Rambam · Sefer Haflaah
הלכות שבועות ג׳Oaths 3
Chapter 3 of 12 in Oaths — 11 halachot
Halacha 1א׳
כָּל הַנִּשְׁבָּע שְׁבוּעָה מֵאַרְבַּע מִינֵי שְׁבוּעוֹת אֵלּוּ בְּאֹנֶס הֲרֵי זֶה פָּטוּר מִכְּלוּם. וְאֶחָד הַנִּשְׁבָּע מִתְּחִלָּתוֹ בְּאֹנֶס כְּמוֹ שֶׁבֵּאַרְנוּ. אוֹ שֶׁנִּשְׁבַּע וְנֶאֱנַס וְלֹא הִנִּיחוּהוּ לְקַיֵּם שְׁבוּעָתוֹ. אוֹ שֶׁהִשְׁבִּיעוֹ אַנָּס. לְפִיכָךְ נִשְׁבָּעִין לַחֲרָמִין וּלְהוֹרְגִין וּלְמוֹכְסִין:
Whoever swears an oath of these four kinds of oaths under duress is exempt from everything. And it is one and the same whether he swore under duress from the outset, as we have explained; or he swore and was then constrained, and they did not let him fulfil his oath; or one who was using force made him swear. Therefore one may swear to plunderers, to murderers and to tax-collectors.
Halacha 2ב׳
בְּאֵי זֶה מוֹכֵס אָמְרוּ. בְּמוֹכֵס הָעוֹמֵד מֵאֵלָיו שֶׁלּוֹקֵחַ מָמוֹן שֶׁלֹּא בִּרְשׁוּת מֶלֶךְ הַמְּדִינָה. אוֹ שֶׁלּוֹקֵחַ בִּרְשׁוּת הַמֶּלֶךְ אֲבָל מוֹסִיף לְעַצְמוֹ עַל הַדָּבָר הַקָּצוּב כְּמוֹ שֶׁיִּתְבָּאֵר בְּהִלְכוֹת גְּזֵלָה:
Of what tax-collector did they speak? Of a tax-collector who sets himself up of his own accord, who takes money without the authority of the king of the province; or who takes with the king's authority but adds for himself beyond the fixed amount, as will be explained in the Laws of Robbery and Lost Property.
Halacha 3ג׳
וְצָרִיךְ הַנִּשְׁבָּע בְּאֹנֶס לִהְיוֹת כַּוָּנָתוֹ בְּלִבּוֹ בְּעֵת הַשְּׁבוּעָה לְדָבָר הַפּוֹטְרוֹ. וְאַף עַל פִּי שֶׁהַדְּבָרִים אֵלּוּ שֶׁבַּלֵּב אֵינָן דְּבָרִים. הוֹאִיל וְאֵינוֹ יָכוֹל לְהוֹצִיא בִּשְׂפָתָיו מִפְּנֵי הָאֹנֶס. הֲרֵי זֶה סוֹמֵךְ עַל דְּבָרִים שֶׁבְּלִבּוֹ:
And one who swears under duress must have his intention in his heart, at the time of the oath, on a thing that exempts him. And even though words that are in the heart are not words, since he cannot bring it out with his lips because of the duress, he may rely on the words in his heart.
Mishneh Torah, Torat Emet 363 edition, via Sefaria — public domain
English: rendered from the Hebrew for this app — our own, not a borrowed translation