סימן פז סעיף י
אָסוּר לְהַשְׁאִיל אוֹ לְהַשְׂכִּיר בְּהֶמְתּוֹ לְאֵינוֹ יְהוּדִי, אֶלָּא בִּתְנַאי שֶׁיַּחְזִירֶנָּהּ לוֹ קֹדֶם שַׁבָּת. וְאִם אֵרַע שֶׁלֹּא הֶחְזִירָהּ יַפְקִירָהּ הַיִשְֹרָאֵל קֹדֶם הַשַׁבָּת אֲפִלּוּ בֵּינוֹ לְבֵין עַצְמוֹ, כְּדֵי לְהִנָּצֵל מֵאִסּוּר. אֲבָל לְכַתְּחִלָּה אָסוּר לְהַשְׁאִיל אוֹ לְהַשְׂכִּיר עַל סְמַךְ זֶה (רמ"ו).
You may not lend or rent your animal to a non-Jew unless you stipulate that it be returned before Shabbos. If it happened that he did not return it, you must renounce your ownership of it before Shabbos even without letting anyone know,24Though normally three people ought to be present when a person legally abandons his property. [Shulchan Aruch 246: 3]
Mishnah Berurah (246: 15) writes that it is preferable to have three people present, or at the very least, one, because according to many opinions at least one must be present in order for “hefker” (disowning) to be valid. to save yourself from transgressing the law.25The prohibition of your animal “working” on Shabbos. But, initially, it is forbidden to lend or rent to him relying on this.26I.e. on the planned disowning before Shabbos, because some people may not be aware of the “hefker” and suspect you of a transgression. [Mishnah Berurah 246: 17]
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)