Poetic justice is seen in different ways during the novel. One clear example is in Canto XII. The beginning of this canto refers to the first ring of the seventh circle where the violent against their neighbors are kept.
Here the sinners are boiling in a pool of blood and the centaurs are throwing arrows at the ones that try to move towards the surface. They have different degrees of punishments. For example one who killed only one person has only his feet covered by the boiling blood. Alexander who killed a lot of people is completely submerged. Poetic justice is demonstrated because those who killed their neighbors covered them in their own blood. In hell they are now the ones trapped in a pool of blood. It can also relate to getting their hands dirty with their victims blood. The punishment is related to the sin they committed.