In the Advance and Final Fantasy IV: The Complete Collection versions, Pray is upgradable to Miracle with the White Ring equipped on Rosa. Miracle has a Charge Time of 2. Miracle has a 50% chance of casting both Curaga and Esuna on the whole party or just a Cura spell on them. Miracle can be reflected, and will automatically fail if Rosa is under Silence.
Miracle is the final ability of the White Mage crown and costs 5 AP to use. The ability fully restores the HP of all party members and cures all their status ailments.
A miracle is an event not ascribable to human power or the laws of nature and consequently attributed to a supernatural, especially divine, agency.