The Code of Hammurabi (c. 1754 BCE, Mesopotamia) includes several provisions outlining neighborly duties:
"If a man has established his boundary and one neighbor has withdrawn the boundary of the other, whoever has taken away his neighbor's boundary shall restore the boundary to its former state." (§59) – Respect property lines.
"If a house is about to fall in on a man and he has notified his neighbor, but his neighbor does not heed his plea and the house falls in on him, that man can recover his damages." (§232)
"If a man, in constructing a house, encroach on his neighbor's house and damage the wall of his neighbor's house, that man shall reinforce the damaged wall." (§234) – Prevent damage to adjacent structures.
"If a man opens his canal to irrigate, but is careless and water floods the field of his neighbor, he shall replace the crop which he has damaged." (§53) – Responsible water use to avoid crop damage.
"If a fire breaks out in a man's house, and a man sees it and does not come with his bucket to put the fire out, that man shall be thrown into the fire." (§253) – Neighbors must assist in firefighting.
These laws reflect the dense urban context of ancient Mesopotamia, where fire, water scarcity, and property disputes were critical concerns. Modern legal systems have evolved more sophisticated frameworks, but the principles of mutual responsibility remain relevant.