Exodus 21:36

New International Version Bible (NIV)
However, if it was known that the bull had the habit of goring, yet the owner did not keep it penned up, the owner must pay, animal for animal, and take the dead animal in exchange.

Read Exodus 21:36 in other translations