Exodus 21:30-32
21:30 If a ransom is set for him, then he must pay the redemption for his life according to whatever amount was set for him.
21:31 If the ox gores a son or a daughter, the owner will be dealt with according to this rule.
21:32 If the ox gores a male servant or a female servant, the owner must pay thirty shekels of silver, and the ox must be stoned.