Matthew 12:11

And he said unto them, What man shall there be among you, that shall have one sheep, and if it fall into a pit on the sabbath day, will he not lay hold on it, and lift it out?

Cross-reference

Deuteronomy 22:4 commands helping a brother's fallen donkey — the closest OT law to Jesus' sheep-in-pit example, showing a principle of mercy.

In Luke 13:15-17, Jesus uses the same logic: if you untie your ox on the Sabbath, you should heal a woman. Direct parallel to rescuing a sheep.

Luke 14:5 Parallel

In Luke 14:5, Jesus asks if you would pull out a son or ox from a well on the Sabbath, mirroring the sheep-in-pit argument.

Exodus 23:5 Parallel

Exodus 23:5 says to help lift your enemy's collapsed donkey — a direct OT parallel to the rescue of a sheep from a pit on the Sabbath.