Exodus 21:31-36

31 If it gores a boy or a girl, the owner shall be dealt with according to this same rule.
32 If the ox gores a male or female slave, the owner shall pay to the slaveowner thirty shekels of silver, and the ox shall be stoned.
33 If someone leaves a pit open, or digs a pit and does not cover it, and an ox or a donkey falls into it,
34 the owner of the pit shall make restitution, giving money to its owner, but keeping the dead animal.
35 If someone's ox hurts the ox of another, so that it dies, then they shall sell the live ox and divide the price of it; and the dead animal they shall also divide.
36 But if it was known that the ox was accustomed to gore in the past, and its owner has not restrained it, the owner shall restore ox for ox, but keep the dead animal.

Exodus 21:31-36 Meaning and Commentary

INTRODUCTION TO EXODUS 21

In this, and the two following chapters, are delivered various laws and precepts, partly of a moral, and partly of a religious, but chiefly of a civil nature, respecting the commonwealth of Israel, and its political good. This chapter treats of servants, and laws relating to them; to menservants, how long they shall serve, and what is to be done to those who are desirous of staying with their masters after their time is up, Ex 21:1-6, to maidservants, and especially betrothed ones, either to a father or a son, Ex 21:7-11, likewise it contains laws concerning the slaughter of men, whether with design or unawares, Ex 21:12-14, and concerning the ill usage of parents, Ex 21:15,17, and man stealing, Ex 21:16 and of mischief that comes by men's quarrelling and fighting, Ex 21:18,19 and by smiting a man or maidservant, Ex 21:20,21,26,27, to a woman with child, that is, by means of men's striving and contending with each other, Ex 21:22-25 and of damages that come by oxen, or to them, Ex 21:28-36.

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.