Ramayana Yudhakanda Sarga 119 describes Sita’s agnipravesha. Though he rescused Sita, Rama was angry at Sita having stayed in the custody of Ravana for such a long time. He decided to give her a test. Lakshmana prepared the fire, while a tearful Sita jumped into it, with a prayer to the gods. After the agnipravesha, Rama accepted Sita to be pure.