Numbers 25:4
And the Lord said unto Moses, Take all the heads of the people, and hang them up before the Lord against the sun, that the fierce anger of the Lord may be turned away from Israel.
Cross-reference
In Numbers 25:11, Phinehas's zealous act also turns away God's anger, offering a complementary response to the same crisis.
Numbers 25:14 names Zimri, the Israelite leader killed for his sin, identifying the individual mentioned in the command to execute leaders.
Numbers 25:15 names Cozbi, the Midianite woman, identifying the other party in the incident that provoked God's anger.
Numbers 25:18 later recalls the deceit at Peor and the plague, linking back to the event that prompted the command in verse 4.
In Numbers 25:9, the total death toll from the plague is reported — the outcome of God's anger that the hanging was meant to avert.
Deuteronomy 4:3 recalls the same Baal Peor incident, stating God destroyed those who followed Baal — confirming the judgment here.
Deuteronomy 13:6-9 commands death for those who entice to worship other gods — exactly the offense that led to the executions at Baal Peor.
Deuteronomy 21:23 gives the law that a hanged body must be buried the same day — directly applying to the 'hang them in the sun' order.
Joshua 7:26 explicitly states the Lord turned from his fierce anger after Achan's execution, directly echoing the outcome in Numbers.
Joshua 22:17 refers to the sin of Peor as a lasting offense, citing the plague — the same event as the execution order here.
Deuteronomy 21:22 provides the law for hanging executed criminals on a tree, the legal background for this command to hang the chiefs.
Deuteronomy 13:17 links removing condemned things to turning away God's fierce anger, reinforcing the principle of purging evil.
Joshua 10:26 records a similar action — Joshua hangs defeated kings on trees, mirroring the public execution of leaders here.
Hosea 14:4 speaks of God turning away anger through love and healing — contrasting the punitive turning away of anger in Numbers 25:4.