Exod 22:2-3

2(4) When the animal, whether ox or donkey or sheep, is found alive in the thief's possession, the thief shall pay double.3 If a thief is found breaking in, and is beaten to death, no bloodguilt is incurred;