Indeed, no one on earth—not even those who actually indulge in it—can establish a single benefit in smoking, whereas it entails many harms and grave dangers. A Muslim must possess resolve, strength, dignity and firm faith, and give up whatever Allah has forbidden him, even if it were the dearest thing to him; how much more so when it is something trivial and vile. Therefore a Muslim is obliged to repent to Allah from it and abandon it, safeguarding his health, his wealth and his religion, for it brings no good whatsoever.
With regard to the vow you made to quit and to fast if you should smoke, you have in fact vowed to give up something unlawful, and that is already incumbent upon you. When a person vows to perform an obligatory act or to refrain from something prohibited, he has vowed to do what is already required of him, and he must fulfil his vow. You were obliged to give it up even without a vow; now that you have vowed, abandoning it is all the more binding—both as sound advice to yourself and in fulfilment of your pledge. Allah, Exalted is He, says: “Whoever is mindful of Allah, He will make a way out for him and will provide for him from where he never expected” (Al-Ṭalāq 65:2-3).
This is the advice we give you, and we see no other course for you at all. We do not deem it permissible for you to break your oath and return to smoking, for it is a crime and a harm. You must repent to Allah, leave it for good, proceed with firm determination, and deliver yourself from its harms.
The Prophet (peace and blessings be upon him) said: “You will never give up something for the sake of Allah except that He will replace it for you with something better.”