The 238th mitzvah is that we are commanded to follow the laws regarding damage caused by a pit in the ground.

The source of this commandment is G‑d's statement1 (exalted be He), "If a person digs a pit in the ground [...and an ox or donkey falls into it, the one responsible for the pit must pay for the damage...]."

The details of this mitzvah are explained in the 3rd and 5th chapters of tractate Bava Kama.