Deuteronomy 21:22
A Man Hanged on a Tree Is Cursed
22 “And if a man has committed a crime punishable by death and he is put to death, and you hang him on a tree,
Deuteronomy 21:23
23 phis body shall not remain all night on the tree, but you shall bury him the same day, for qa hanged man is cursed by God. rYou shall not defile your land that the Lord your God is giving you for an inheritance.