Exodus 13:2

13:2 “Set apart to me every firstborn male – the first offspring of every womb among the Israelites, whether human or animal; it is mine.”

Exodus 21:34

21:34 the owner of the pit must repay the loss. He must give money to its owner, and the dead animal will become his.