Hadith.4652 - Abu al-Abbas and Ubayd narrated from Abu Abdullah (as) regarding a woman who had a slave husband, then inherited him and freed him. They asked if they would remain in their marriage.
Imam (as) said
"No, but they must renew their marriage contract."