"If a man gives his fellow a donkey, a bull, or a lamb..."—Exodus 22:9.
We are commanded to follow the rules outlined in the Torah regarding a paid watchman and a renter. Similar rules regulate the both of them [in the event that the item being watched or rented is lost or damaged].