Deuteronomy 21:22-23 - Display Of Executed People
22 If a person commits a sin punishable by death and is executed, and you hang the corpse on a tree, 23 his body must not remain all night on the tree; instead you must make certain you bury him that same day, for the one who is left exposed on a tree is cursed by God. You must not defile your land which the Lord your God is giving you as an inheritance.