This is probably too long to post as a comment, but isn't totally an answer either, in any case it's something of a reference to this.
This summary is in reference to the commentary of the Dhammapada verses 21-23:
There was some king in the Buddha's time ( I don't remember which), whom had two Queen consorts. One of them was virtuous, the other evil and scheming. The virtuous one had a hand maiden who would buy flowers for her Queen every day, but stole from her in doing so.
The hand maiden would take the money the queen gave her for flowers, keep half the money, and return to the Queen only half as many flowers and she had ought to, the Queen not knowing any better. Until one day, this hand maiden heard the Buddha teach, attained stream entry, and then returned to the Queen, confessing her transgression.
The Queen was not mad, but impressed that the Buddha's teaching was this profound.
Fast forwarding, Ananda ends up coming to the palace to teach the Queen and her attendants, the evil Queen wanting to get rid of the good queen, as the evil queen had qualms with the Buddha due to a past misgiving, but was unable to get at him, plots against the good queen.
The evil queen ends up burning the good queen and her attendants alive in a bed chamber, although while they are burning to death they are able to be mindful and attain the path. It is explained in the sutta that the queen and her attendants suffered this kamma because of a misdeed they all committed in a past life.
They had started a fire in a field where a Pacceka Buddha was in a deep state of meditation. Because of this deep state of meditation, he was unharmed. But they not being aware of this, thinking he was burnt and dead, built another fire around his body to fully dispose of the evidence, and left him. The Pacceka Buddha was fine, but the weight of this action followed them all into this life, all of them suffering the same fate.