Bava Metzia 7:8
Bava Metzia7: 8
שׁוֹמְרֵי פֵרוֹת אוֹכְלִין מֵהִלְכוֹת מְדִינָה, אֲבָל לֹא מִן הַתּוֹרָה.  אַרְבָּעָה שׁוֹמְרִין הֵן: שׁוֹמֵר חִנָּם, וְהַשּׁוֹאֵל, נוֹשֵׂא שָׂכָר, וְהַשּׂוֹכֵר. שׁוֹמֵר חִנָּם נִשְׁבָּע עַל הַכֹּל, וְהַשּׁוֹאֵל מְשַׁלֵּם אֶת הַכֹּל. וְנוֹשֵׂא שָׂכָר וְהַשּׂוֹכֵר נִשְׁבָּעִים עַל הַשְּׁבוּרָה, וְעַל הַשְּׁבוּיָה, וְעַל הַמֵּתָה, וּמְשַׁלְּמִין אֶת הָאֲבֵדָה וְאֶת הַגְּנֵבָה.
Shomrim of produce may eat by virtue of common custom, but not by virtue of Biblical law.  There are four [types of] shomrim: an unpaid shomer, a borrower, a paid shomer, and a renter. An unpaid shomer swears for everything; a borrower pays for everything. A paid shomer and a renter swear concerning an animal that broke a limb, an animal that was captured, and an animal that died, and they pay for loss and theft.