Our teachers, the authors of the Shulchan Aruch, wrote: Two who borrowed from one person in one document, and he forgave one of them, he has only forgiven his portion, and he collects half the debt from his fellow. And some disagree and say that the entire debt is forgiven, and he cannot claim anything from his fellow. Regarding the halachic ruling: if these two were arevim kablanim, such that he could then collect the entire debt from one of them, and he forgave one of them, the entire debt is forgiven and the second is also exempt. But if they are not arevim kablanim, such that he must then claim from each one, and he forgave one of them, it is not forgiven except for the half, and he collects half the debt from his fellow. Thus far their words.
And it appears to my humble opinion that this law applies only if, according to the context, it does not appear that the lender desired to forgive this one more than the other; for example, if one of the borrowers came to the lender and requested of him that he forgive due to certain reasons. And since every partner is like the agent of the second, automatically, even when the lender said, "Behold, I forgive you," since he did not specify to him, "I forgive your portion," the forgiveness takes effect on both of them when they are arevim kablanim for one another, because each one is connected to the entire debt, as he has the ability to collect from one even when the second also has [funds], and he does not need to claim from the second at all, as has been explained. And so too, if even without the borrower's request the lender said, "Behold, I forgive you the debt," and it does not appear according to the context that he would forgive this one more than the other, the forgiveness takes effect on both of them when they are arevim kablanim for one another. But if they are not arevim kablanim for one another, since each of them is a borrower for his half and an arev for his partner's portion, the partner's portion is not included in the forgiveness, since they are two separate matters.
However, if according to the context it appears that he only forgave him—for example, if he requested of the lender that he forgive because his situation is not good, or because he did him some favor, and similarly when the lender said of his own accord, "To you I forgive," and it is known that his reason was because of this one's situation or because of his love for him—then certainly his intention was only for his portion. And a proof for this is from the Tosefta [Bava Metzia chapter 8], as it was taught: Partners whom the tax collectors forgave, they forgave to the middle; but if they said, "For the sake of so-and-so we have forgiven," what they forgave, they forgave to him. Thus far its words. And certainly the intention of what was taught, that they said "for the sake of so-and-so," is not that they specified that they only forgave his portion, for if so, what is it coming to tell us? Rather, the intention is that they said that for the sake of so-and-so they are forgiving the tax. And the matter is a fortiori: for behold, in this they did not specify that they are forgiving him, but rather that they are forgiving the tax stam, and nevertheless, since they said "for the sake of so-and-so," the forgiveness is only for him alone. And all the more so when he said, "Behold, I forgive you," and according to the context there is a reason why he forgave him, that the forgiveness is only for his portion alone. [It appears to me].
And in all this, there is no difference between forgiving part of the debt and forgiving the entire debt. [Shach]. And if there were many partners and he forgave two, we say that since he descended to a specific count, he only forgave them, and those remaining shall pay their portion. [ibid.]. And so too, if he forgave this borrower a general forgiveness—namely, all debts that he has against him—and this debt was also included in it, the forgiveness is only for his portion alone. [ibid.]. And if he said, "I forgive you what you borrowed with your fellow," there is one who says that since he mentioned his fellow and said "forgiven to you," the forgiveness is only for his portion alone. [Sma]. And there is one who disagrees in this. [Shach]. And there is no decisive ruling in this law. [Netivot HaMishpat]. And it appears to me that if he owes him another debt, there is no proof that the forgiveness was for him alone, for in that he mentioned his fellow, his intention was to exclude the other debt; but if he does not owe him another debt, the mind leans toward the first opinion.
כתבו רבותינו בעלי הש"ע שנים שלוו מאחד בשטר אחד ומחל לאחד מהם לא מחל אלא חלקו וגובה מחבירו חצי החוב ויש חולקים ואומרים דכל החוב מחול ואין יכול לתבוע לחבירו כלום ולעניין הלכה אם היו אלו השנים ע"ק שאז היה יכול לגבות כל החוב מאחד מהם ומחל לאחד מהם כל החוב מחול וגם השני פטור אבל אם אינם ע"ק שאז צריך לתבוע כל אחד ומחל לאחד מהם אינו מחול אלא החצי וגובה מחבירו חצי החוב עכ"ל ויראה לענ"ד שדין זה אינו אלא אם לפי העניין אינו נראה שהמלוה רצה למחול לזה יותר מלזה כגון שאחד מהלוים בא להמלוה ובקש ממנו שימחול מפני איזה טעמים וכל שותף הוה כשלוחו של השני ממילא אף כשאמר המלוה הנני מוחל לך כיון שלא פירש לו חלקך אני מוחל חלה המחילה על שניהם כשהם ערבים קבלנים זל"ז מפני שכל אחד שייך בכל החוב שביכולתו לגבות מאחד אף כשיש גם להשני וא"צ לתובעו להשני כלל כמו שנתבאר וכן אם אף בלא בקשת הלוה אמר המלוה הנני מוחל לך את החוב ואין נראה לפי העניין שימחול לזה יותר מלזה חלה המחילה על שניהם כשהם ע"ק זל"ז ואם אינם ע"ק זל"ז כיון דכל אחד מהם הוא לוה על מחציתו וערב בעד חלק שותפו אין חלק השותף בכלל המחילה כיון דשני עניינים הם אבל אם לפי העניין נראה שרק לו מחל כגון שבקש מהמלוה שימחול מפני שמצבו לא טוב או מפני שעשה לו איזה טובה וכן כשמעצמו אמר המלוה לו אני מוחל לך וידוע שטעמו היה מפני מצבו של זה או מפני אהבתו אז וודאי לא היתה כוונתו רק על חלקו וראיה לזה מתוספתא [ב"מ פ"ח] דתניא השותפים שמחלו להם המוכסין מחלו לאמצע ואם אמרו בשביל פלוני מחלנו מה שמחלו מחלו לו עכ"ל ובוודאי אין הכוונה מה דתניא שאמרו בשביל פלוני שפירשו דרק חלקו מחלו דא"כ מאי למימרא אלא הכוונה שאמרו שבשביל פלוני מוחלין המכס וק"ו הדברים דהא בזה לא פירשו שמוחלין לו אלא שמוחלין המכס סתם ועכ"ז כיון שאמרו בשביל פלוני אין המחילה רק לו לבדו וכ"ש כשאמר הנני מוחל לך ולפי העניין יש סיבה מה שמחל לו דאין המחילה רק על חלקו לבדו [נ"ל] ובכל זה אין חילוק בין מחילת מקצת החוב למחילת כל החוב [ש"ך] ואם היו הרבה שותפים ומחל לשנים אמרינן כיון שנחית למניין לא מחל רק להם והנשארים ישלמו חלקם [שם] וכן אם מחל לזה הלוה מחילה כללית והיינו כל חובות שיש לו עליו וגם חוב זה נכלל בו אין המחילה רק חלקו לבדו [שם] ואם אמר אני מוחל לך מה שלוית עם חבירך יש מי שאומר דהואיל שהזכיר חבירו ואמר מחול לך אין המחילה רק על חלקו לבדו [סמ"ע] ויש מי שחולק בזה [ש"ך] ואין הכרע בדין זה [נה"מ] ויראה לי שאם חייב לו עוד איזה חוב אין ראיה שהמחילה לו לבדו היתה דזה שהזכיר חבירו היתה כוונתו למעט החוב האחר ואם אינו חייב לו חוב אחר הדעת נוטה לדיעה ראשונה: