Wa `alaykum As-Salamu wa Rahmatullahi wa Barakatuh
In the Name of Allah, the All-Merciful, the Mercy-Giving
All praise is due to Allah. Peace and blessings be upon His Messenger Muhammad.
You should not make such a vow but keep a commitment to Allah that you will not perpetrate such a sin by making a sincere repentance.
In your case, you have to expiate your vow. Expiating the vow is by feeding ten persons or clothing them. If you are not able, then one has to fast for three days. This is provided in surat Al-Ma’idah, “Allah will not impose blame upon you for what is meaningless in your oaths, but He will impose blame upon you for [breaking] what you intended of oaths. So its expiation is the feeding of ten needy people from the average of that which you feed your [own] families or clothing them or the freeing of a slave. But whoever cannot find [or afford it] – then a fast of three days [is required]. That is the expiation for oaths when you have sworn. But guard your oaths. Thus does Allah make clear to you His verses that you may be grateful.” (Al-Ma’idah 5:89)
Almighty Allah knows best.
Views expressed by hosts/guests on this program (live dialogue, Facebook sessions, etc.) are their own and their appearance on the program does not imply an endorsement of them or any entity they represent.