Question: what is the origin of the hellfire doctrine?
Answer: In the Gorgias, Plato (c. 400 BC) wrote that souls of the deceased were judged after they payed for crossing the river of the dead and those who received punishment were sent to Tartarus. As a place of punishment, it can be considered a hell.