Deuteronomy 21:22-23 CSB

Display of Executed People

22 "If anyone is found guilty of an offense deserving the death penalty and is executed, and you hang his body on a tree,

References for Deuteronomy 21:22

      23 you are not to leave his corpse on the tree overnight but are to bury him that day, for anyone hung [on a tree] is under God's curse.a You must not defile the land the Lord your God is giving you as an inheritance.

      References for Deuteronomy 21:23