סימן קפא סעיף טז
כְּתִיב, וַאֲשֶׁר לֹא טוֹב עָשָׂה בְּתוֹךְ עַמָּיו, וְדָרְשֵׁינָן, זֶה הַבָּא בְּהַרְשָׁאָה וּמִתְעַבֵּר עַל רִיב לֹא לוֹ. וְדַוְקָא כְּשֶׁשְּׁנֵי בַּעֲלֵי הַדִּין הֵמָּה בָעִיר, אֶלָּא כְּגוֹן שֶׁהַלֹּוֶה הוּא אַלָּם וּבַעַל טְעָנוֹת, וְיָרֵא הַמַּלְוֵה לִטְעֹן עִמּוֹ וּמַרְשֶׁה לְאַחֵר, זֶהוּ מִתְעַבֵּר עַל רִיב לֹא לוֹ. אַבָל אִם הַנִּתְבָּע הוּא בְּעִיר אַחֶרֶת, וְהַתּוֹבֵעַ אֵינוֹ יָכוֹל לְהַטְרִיחַ אֶת עַצְמוֹ וּמַרְשֶׁה לְאַחֵר, זֶה הַמֻּרְשֶׁה מִצְוָה קָעֲבֵיד לְהַצִּיל עָשׁוּק מִיַד עוֹשְׁקוֹ. וְיֵשׁ אוֹמְרִים, דְּהַבָּא בְהַרְשָׁאָה כְּדֵי לֵהָנוֹת מִן הַשָּׂכָר וְלֹא בִּשְׁבִיל אַלָּמוּת, מֻתָּר.
It is written, "And that which is not good, he did among his people."10Yecheskiel 18:18. This is homiletically interpreted to refer to a person who comes with power of attorney, and argues about a quarrel that is not his.11Maseches Shavuos 31a. This applies only when both litigants are in town, but the borrower is a strong man, and a good pleader, and the lender fears the confrontation with him, and thus gives power of attorney to someone else. This is the case of someone arguing about a quarrel that is not his.12Shach 123:32. However, the Tumim argues that if the borrower is a strongman, it is a mitzvah to assist the lender. However, if the defendant is in another city, and the plaintiff cannot trouble himself (to go personally), and gives someone the power of attorney, then the latter is doing a meritorious deed in rescuing the wronged person from the hand of the one exploiting him. Some Poskim maintain that if you accept a power of attorney in order to receive a fee, and not because you are a quarrelsome person, it is permitted.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)