I came onto this question on Islam.SE, citing a variety of situations where humans were sacrificed, not for a personal guilt on which death penalty has been decreed.
Numbers 31:7: Ritual slaughter of the enemies?
Deuteronomy 13:13-19: Collective killing for avoda zara, to please God?
(Joshua 7:15): Death penalty by lot.
(Judges 11:29-40): Human sacrifice to fulfil a wow.
(1 Kings 13:1-2): Human sacrifice on the Altar in Bethel.
In a completely different answer, Michael states that Judaism rejects human sacrifice. Of course, human sacrifice is no more practised, but how are those past events received in later Judaism? Has there been a concrete prophecy in later times that stopped this?
Related Question (so far without an answer): Death of Nadav & Avihu/ Human Sacrifice?