Deuteronomy 17:1

17:1 You must not sacrifice to him a bull or sheep that has a blemish or any other defect, because that is considered offensive to the Lord your God.

Deuteronomy 22:1

Laws Concerning Preservation of Life

22:1 When you see your neighbor’s ox or sheep going astray, do not ignore it; you must return it without fail to your neighbor.