Deuteronomy 21:23 NIV

23 you must not leave his body on the tree overnight.1 Be sure to bury2 him that same day, because anyone who is hung on a tree is under God's curse.3 You must not desecrate4 the land the LORD your God is giving you as an inheritance.

References for Deuteronomy 21:23