Ibrahim (may Allah have mercy on him) said that if a man swears an oath, then the woman may ransom herself and free herself.