"When a man steals an ox or a sheep and butchers it or sells it, he must repay five cattle for the ox or four sheep for the sheep.
References for Exodus 22:1
If a thief is caught in the act of breaking in, and he is beaten to death, no one is guilty of bloodshed.
References for Exodus 22:2
But if this happens after sunrise, there is guilt of bloodshed. A thief must make full restitution. If he is unable, he is to be sold because of his theft.
References for Exodus 22:3
If what was stolen-whether ox, donkey, or sheep-is actually found alive in his possession, he must repay double.