Al-Sha'bi (may Allah have mercy on him) said: If a woman dislikes her husband, the man should take a ransom from her and let her go.