Deuteronomy 21:23

YLT(i) 23 his corpse doth not remain on the tree, for thou dost certainly bury him in that day—for a thing lightly esteemed of God is the hanged one—and thou dost not defile thy ground which Jehovah thy God is giving to thee—an inheritance.