Exodus 21:33
And if a man shall open a pit, or if a man shall dig a pit, and not cover it, and an ox or an ass fall therein;
Cross-reference
Exodus 22:6
Parallel
Exodus 22:6 gives another liability law—fire damage—parallel to the pit liability here, both requiring restitution for negligence.
Leviticus 24:21
Parallel
Leviticus 24:21 states the principle that killing an animal requires restitution, directly supporting the compensation rule in this pit law.