Taking an oath that one will become a kaafir through carrying out a certain action
Q: I am a Hanfi. I want to ask that if someone swears by God or by Quran that I will not do this evil or any sinful thing for this much time and if I done it, Allah should made me kafir. Then if he cant keep it, what will happen, Is he going to be a kafir or not?
A: He will not become a kaafir. It is really a foolish thing to risk your imaan.
And Allah Ta’ala (الله تعالى) knows best.
Mufti Ebrahim Salejee (Isipingo Beach)