Deuteronomy 21:9

Overview - Deuteronomy 21
The expiation of an uncertain murder.
10 The usage of a captive taken to wife.
15 The first-born is not to be disinherited upon private affection.
18 A rebellious son is to be stoned to death.
22 The malefactor must not hang all night on a tree.
Treasury of Scripture Knowledge

Deuteronomy 21:9  (King James Version)
So shalt thou put away the guilt of innocent blood from among you, when thou shalt do that which is right in the sight of the LORD.

shalt thou
Deuteronomy 19:12 Deuteronomy 19:13

when thou shalt
13:18 2 Kings 10:30 2 Kings 10:31