A man likes a woman. One day they had a quarrel and due to anger, the man did a swear by the name of Allah, that he would not continue the relation anymore. After the man regrets for this, wants to withdraw the swear and wants to marry the woman. Now the question is, if the man marries the woman, will the marriage be valid?
بسم الله الرحمن الرحيم
If that person swore in the name of Allah that he would not continue the relation with that woman anymore and now wants to marry her then he may marry her. However he shall have the sin of breaking his oath and therefore will have to pay the kaffarah of his oath. Oath cannot be taken back. Also it is unlawful to talk to any strange woman before nikah and to love her.
Allah knows Best!
Darul Uloom Deoband