In the Ramayana, Ahalya was cursed by her husband Gautama Rishi to turn into stone for her alleged transgression. When Lord Rama passed by her ashram during his 14-year exile, the touch of his lotus feet broke the curse, restoring her to human form and allowing her to ascend to heaven.