כִּֽי־יִתֵּן֩ אִ֨ישׁ אֶל־רֵעֵ֜הוּ חֲמ֨וֹר אוֹ־שׁ֥וֹר אוֹ־שֶׂ֛ה וְכָל־בְּהֵמָ֖ה לִשְׁמֹ֑ר וּמֵ֛ת אוֹ־נִשְׁבַּ֥ר אוֹ־נִשְׁבָּ֖ה אֵ֥ין רֹאֶֽה׃
어떠한 과실에든지 소에든지 나귀에든지 양에든지 의복에든지 또는 아무 잃은 물건에든지 그것에 대하여 혹이 이르기를 이것이 그것이라 하면 두 편이 재판장 앞에 나아갈 것이요 재판장이 죄 있다고 하는 자가 그 상대편에게 갑절을 배상할지니라
Rashi
כי יתן איש אל רעהו חמור או שור IF A MAN GIVE UNTO HIS FELLOW-MAN AN ASS OR AN OX — The first section (v. 6—9) speaks of the gratuitous bailee and therefore (since the chattels are kept for the use of the bailor only) Scripture frees him of liability for theft, as it is written, (v. 6) “[If a man shall give … to keep] and it be stolen out of the man’s house, if the thief be not found, then the owner of the house shall approach the judges” to take an oath (cf. Rashi v. 7). You may learn from this that he (the bailee) frees himself from liability by this oath. This section (v. 9—12), however, speaks of a “bailee for payment” (שומר שכר) who is therefore not free from liability if the object has been stolen, as it is written, “but if it be certainly stolen from him, he shall pay [unto the owner thereof]” (Bava Metzia 94b). However, for any loss over which he has no control — if, for instance, the animal died a natural death or has been injured by a wild beast, or forcibly seized by robbers, and אין רואה NO ONE SEEING IT that could testify in this matter
Chizkuni
חמור או שור או שה, “a donkey, an ox or a lamb;” this paragraph speaks of guarding a neighbour’s belongings in return for payment. This obligates the guardian to accept additional responsibility for keeping it safe. The animals mentioned need to be fed by its keeper, so that it is normal for him to charge a fee for this. If the purpose of his accepting this assignment is to protect these animals against marauding wild beasts such as wolves, he is expected to prevent this.
Sforno
חמור או שור או שה, under normal circumstances the poor people assume guardianship of such animals against payment of a fee.