You must do the same thing when you find your neighbor’s donkey, your neighbor’s clothes or anything else your neighbor loses. You must help your neighbor.
If the owner does not live near you or if you don’t know who it belongs to, then you may take the cow or sheep to your house. And you may keep it with you until the owner comes looking for it. Then you must give it back to him.