2 Samuel 21:9

21:9 He turned them over to the Gibeonites, and they executed them on a hill before the Lord. The seven of them died together; they were put to death during harvest time – during the first days of the beginning of the barley harvest.

Deuteronomy 21:22-23

Disposition of a Criminal’s Remains

21:22 If a person commits a sin punishable by death and is executed, and you hang the corpse on a tree, 21: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.