Deuteronomy 21:23

AKJV(i) 23 His body shall not remain all night on the tree, but you shall in any wise bury him that day; (for he that is hanged is accursed of God;) that your land be not defiled, which the LORD your God gives you for an inheritance.