Exodus 21:33

21:33 “If a man opens a pit or if a man digs a pit and does not cover it, and an ox or a donkey falls into it,

Exodus 23:4-5

23:4 “If you encounter your enemy’s ox or donkey wandering off, you must by all means return it to him. 23:5 If you see the donkey of someone who hates you fallen under its load, you must not ignore him, but be sure to help him with it.