Our teacher, the Rema, wrote that a thing which is impossible to smuggle away or to deny, such as a house or a ship, it is permitted to lend. Thus far his words. For he holds that the reason the borrower is not permitted to lend is perhaps he will smuggle it away and deny it, and he compares this to one who rents a house, who is permitted to rent it to another who is like him, as is written in siman 316, see there. And according to this, the reason is simple for what he wrote in section 1, that even books he is not permitted to lend to another. And one should ask regarding this: behold, even a watchman is forbidden to hand over to another watchman for other reasons, as is written in siman 291, and all the more so that a borrower is forbidden to hand over the use to another borrower [and so it appears from Rashi, Bava Metzia 29b]. And from this there was a proof for what was written there, that if his desire is to pay when the second party is unable to bring witnesses, that it is permitted even ab initio; but it has already been explained there that regarding a borrower, it is certainly forbidden ab initio. And from one who rents a house there is no proof, for certainly since he paid the rent and he does not need it, he is permitted to rent it to another so that he does not lose his money; but regarding a borrower who pays nothing, why should he lend it to another without the owner's knowledge? And the opinion of our teacher, the Rema, appears to be that since in the Gemara both are stated in one phrasing—"the borrower is not permitted to lend and the renter is not permitted to rent"—just as regarding a renter of a house it was permitted for him to rent it to another, so too regarding a borrower of a house, because all the days of his borrowing it is as if acquired to him, for from this reason the heirs use it all the days of its borrowing, as is written in siman 341. And according to this, this law that the borrower is not permitted to lend applies only to movables. Nevertheless, the essence of the matter is puzzling, for in the Gemara [Bava Metzia 36a] regarding a watchman who handed over to a watchman, two reasons were stated: one because "it is not my will that my deposit be in the hand of another," and because he is not trusted by him for an oath; but this reason of "perhaps he will smuggle it away" we have not found. And if we say that this reason of "it is not my will that my deposit be in the hand of another" is because of the reason "perhaps he will smuggle it away"—behold, for the law we rule according to the second reason, as is written in siman 291. And in the responsa of the Rashba brought by our teacher, the Beit Yosef, it implies that specifically when the owners are with them, see there; and it requires further study for the law. And a watchman who lent or rented to another, he has committed misappropriation and is liable for accidents, as is written there.
כתב רבינו הרמ"א דדבר שא"א להבריח ולכפור בו כגון בית או ספינה מותר להשאיל עכ"ל דס"ל דזה שאין השואל רשאי להשאיל הוה הטעם שמא יבריח ויכפור ומדמה זה לשוכר בית שרשאי להשכירו לאחר שהוא כמותו כמ"ש בסימן שט"ז ע"ש ולפ"ז הטעם פשוט מ"ש בסעיף א' דגם ספרים אינו רשאי להשאיל לאחר ויש לשאול בזה הא אפילו שומר אסור למסור לשומר אחר מטעמים אחרים כמ"ש בסי' רצ"א וכ"ש שהשואל אסור לו למסור השימוש לשואל אחר [וכ"מ מרש"י ב"מ כט:] ומזה היה ראיה למ"ש שם דאם רצונו לשלם כשהשני לא יהיה ביכלתו להביא עדים שרשאי אף לכתחלה אבל כבר נתבאר שם דבשואל ודאי דאסור לכתחלה ומשוכר בית אין ראיה דודאי כיון ששילם השכירות והוא א"צ לה מותר לו להשכיר לאחר כדי שלא יפסיד ממונו אבל בשואל שאינו משלם כלום למה ישאילנו לאחר בלא דעת בעלים ודעת רבינו הרמ"א נראה כיון דבגמ' איתא תרווייהו בחדא לישנא אין השואל רשאי להשאיל ואין השוכר רשאי להשכיר וכשם שבשוכר בית הותרה לו להשכירו לאחר כמו כן בשואל בית מפני שכל ימי שאילתו הוי כקנוי לו דמזה הטעם משתמשים היורשים כל ימי שאילתה כמ"ש בסי' שמ"א ולפ"ז אין דין זה דאין השואל רשאי להשאיל רק במטלטלים ומ"מ עיקר הדבר תמוה דבגמ' [ב"מ לו.] בשומר שמסר לשומר נאמרו שני טעמים האחד משום דאין רצונו שיהא פקדונו ביד אחר ומשום שאינו נאמן לו בשבועה אבל טעם זה דשמא יבריח לא מצינו ואם נאמר דטעם זה שאין רצוני שיהא פקדוני ביד אחר הוא מטעם שמא יבריח והא לדינא קיי"ל כטעם השני כמ"ש בסי' רצ"א ובתשו' הרשב"א שהביא רבינו הב"י משמע דדוקא כשהבעלים עמהם ע"ש וצ"ע לדינא ושומר שהשאיל או השכיר לאחר הרי שלח בו יד וחייב באונסים כמ"ש שם: