בבא מציעא ח:א · Bava Metzia 8:1
הַשּׁוֹאֵל אֶת הַפָּרָה וְשָׁאַל בְּעָלֶיהָ עִמָּהּ אוֹ שָׂכַר בְּעָלֶיהָ עִמָּה. שָׁאַל הַבְּעָלִים אוֹ שְׂכָרָן, וּלְאַחַר כָּךְ שָׁאַל אֶת הַפָּרָה, וָמֵתָה, פָּטוּר, שֶׁנֶּאֱמַר (שמות כב) אִם בְּעָלָיו עִמּוֹ לֹא יְשַׁלֵּם. אֲבָל שָׁאַל אֶת הַפָּרָה וְאַחַר כָּךְ שָׁאַל אֶת הַבְּעָלִים אוֹ שְׂכָרָן, וָמֵתָה, חַיָּב, שֶׁנֶּאֱמַר (שם) בְּעָלָיו אֵין עִמּוֹ שַׁלֵּם יְשַׁלֵּם:
In the case of one who borrowed a cow and borrowed the services of its owner with it, or he borrowed a cow and hired its owner with it, or he borrowed the services of the owner or hired him and afterward borrowed the cow; in all such cases, if the cow died, the borrower is exempt from liability. Although a borrower is generally liable to pay if a cow he borrowed dies, here he is exempt, as it is stated: “If its owner is with him, he does not pay” (Exodus 22:14). But if one first borrowed the cow and only afterward borrowed the services of the owner or hired him, and the cow died, he is liable to pay the owner for the cow. This is the halakha even if the owner was working for the borrower at the time, as it is stated: “If its owner is not with him, he shall pay” (Exodus 22:13).
Word-by-word Breakdown (מילים ושרשים)
הַשּׁוֹאֵל → one who borrowed [ש - א - ל]אֶת → — הַפָּרָה → the cow [פ - ר - ה]וְשָׁאַל → and borrowed [ש - א - ל]בְּעָלֶיהָ → its owner [ב - ע - ל]עִמָּהּ → with it [ע - מ - ם]אוֹ → or שָׂכַר → hired [ש - כ - ר]בְּעָלֶיהָ → its owner [ב - ע - ל]עִמָּה → with it [ע - מ - ם]שָׁאַל → borrowed [ש - א - ל]הַבְּעָלִים → the owner [ב - ע - ל]אוֹ → or שְׂכָרָן → hired them [ש - כ - ר]וּלְאַחַר → and afterward [א - ח - ר]כָּךְ → thus / that שָׁאַל → borrowed [ש - א - ל]אֶת → — הַפָּרָה → the cow [פ - ר - ה]וָמֵתָה → and died [מ - ו - ת]פָּטוּר → exempt [פ - ט - ר]שֶׁנֶּאֱמַר → as it is stated [א - מ - ר]שמות → Shemot [ש - מ - ע]כב → 22 אִם → if בְּעָלָיו → its owner [ב - ע - ל]עִמּוֹ → with him [ע - מ - ם]לֹא → not יְשַׁלֵּם → he shall pay [ש - ל - ם]אֲבָל → but שָׁאַל → borrowed [ש - א - ל]אֶת → — הַפָּרָה → the cow [פ - ר - ה]וְאַחַר → and afterward [א - ח - ר]כָּךְ → thus / that