סימן קפא סעיף יח
מִי שֶׁחֲבֵרוֹ נִתְחַיֵב לוֹ שְׁבוּעָה, וְרוֹאֶה בוֹ שֶׁהוּא רוֹצֶה לִשָׁבַע לַשֶּׁקֶר, חַס וְשָׁלוֹם יִתְפַּשֵּׁר עִמוֹ כְּפִי הָאֶפְשָׁרִי וְלֹא יַנִּיחֶנּוּ לִשָּׁבַע לַשֶּׁקֶר, שֶׁנֶּאֱמַר, שְׁבוּעַת ה' תִּהְיֶה בֵּין שְׁנֵיהֶם, וְדָרְשֵׁינָן, מְלַמֵּד שֶהַשְׁבוּעָה חָלָה עַל שְׁנֵיהֶם.
If your opponent is obliged to you for an oath, and you realize that he is prepared to swear falsely, Heaven forbid, you should reach the best possible compromise with him, and not permit him to swear falsely, for it is said, "an oath to Adonoy shall be between them."14Exodus 22:10. And this is expounded to teach, that [the punishment of] the oath rests on both of them.15Maseches Shavuos 39b.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)