In the case of one who impairs his shtar and the lender died before he swore, the sages said [Shevuot 48b] that his heirs swear the oath of heirs and collect; that is, the oath "that our father did not command us that this shtar is paid." The Rambam, of blessed memory, wrote likewise in chapter 17 of Malveh, and similarly regarding a single witness who testified that it is paid and the lender died before he swore, and as our teacher, the Beit Yosef, wrote in siman 108, section 14. From the simple meaning of the language, it implies that they are obligated to swear even when the borrower does not demand the oath, and so we explained in siman 108, section 10, see there. And that which we wrote in section 2, that if the orphans say "we do not know" they are not obligated in an oath unless the borrower demands the oath from them, that is when they do not admit at all to the payment and there are no witnesses that he impaired the shtar; but in the case of one who impairs and dies, they are obligated to swear the oath of heirs even without his demand. And that which is said in the Yerushalmi, chapter 9 of Ketubot, regarding one who impairs his shtar, that the power of the son is greater than the power of the father in that they collect without an oath, this means that they do not have to swear a certain oath like their father, but they do swear the oath of heirs, as it concludes there, see there. And if the borrower died during the lifetime of the lender, such that the orphans of the lender must collect from the orphans of the borrower, they do not collect with it at all, because the lender already became obligated in an oath to the children of the borrower, and a person does not bequeath an oath that he was supposed to swear to the heirs of the borrower to his children. But if the lender died during the lifetime of the borrower, even if afterwards the borrower also died, the heirs swear and collect, since the initial oath that their father became obligated in was not in order to collect from orphans but from the borrower himself. The principles of these laws and their reasoning we explained there with the help of Heaven. And even though there is one who says that when the lender dies and the borrower is alive, if the borrower wishes he may swear and be exempt [see Urim VeTummim that this is the opinion of the Ba'al HaHalachot Gedolot], the halacha is not so, and most of the poskim ruled as we have written. [And what the commentator wrote in section 170 on the Yerushalmi there, that regarding a single witness he does not bequeath his oath to his children, I have not found a companion for him, and it is also puzzling, for behold this is not a Torah oath as we wrote in section 4].
בפוגם שטרו ומת המלוה קודם שנשבע אמרו חז"ל [שבועות מ"ח:] שיורשיו נשבעים שבועת היורשים ונוטלין והיינו שבועה שלא פקדנו אבא ששטר זה פרוע וכ"כ הרמב"ם ז"ל בפי"ז ממלוה וכן בעד אחד שהעיד שהוא פרוע ומת המלוה קודם שנשבע וכמ"ש רבינו הב"י בסי' ק"ח סעי' י"ד ומפשטא דלישנא משמע שחייבים לישבע אף כשאין הלוה תובע את השבועה וכן בארנו בסי' ק"ח סעי' י' ע"ש וזה שכתבנו בסעי' ב' דאם אומרים היתומים אין אנו יודעים אין חייבים שבועה אא"כ הלוה תובע מהם השבועה זהו כשאינם מודים כלל בפרעון ואין עדים שפגם השטר אבל בפוגם ומת חייבים לישבע שבועת היורשים אף בלא תביעתו וזה שאמר בירושלמי פ"ט דכתובות בפוגם שטרו שיפה כח הבן מכח האב שהם גובים שלא בשבועה היינו שאין עליהם לישבע שבועה וודאית כאביהם אבל שבועת היורשים נשבעים וכדמסיים שם ע"ש ואם מת הלוה בחיי המלוה שצריכים לגבות יתמי המלוה מיתמי הלוה אין גובין בו כלל מפני שכבר נתחייב המלוה לבני הלוה שבועה ואין אדם מוריש שבועה שהיה לו לישבע ליורשי הלוה לבניו אבל אם מת המלוה בחיי הלוה אע"פ שאח"כ מת גם הלוה נשבעין היורשין ונוטלים כיון ששבועה ראשונה שאביהם נתחייב לא היה כדי לגבות מיתומים אלא מהלוה עצמו ועיקרי דינים אלו וטעמם בארנו שם בס"ד ואף שיש מי שאומר דכשמת המלוה והלוה חי אם רצה הלוה נשבע ונפטר [ע' או"ת שזהו דעת בה"ג] אין הלכה כן ורוב הפוסקים פסקו כמו שכתבנו [ומ"ש המפרש ק"ע בירושלמי שם דבעד אחד אינו מוריש לבניו שבועתו לא מצאתי לו חבר וגם הוא תמוה דהרי אין זה שד"א כמ"ש בסעי' ד']: