Q: I make a promise to Allah that if something happens, I’ll do something in return. Then if I fulfill the promise before the event occurs, is it valid or after the event I have to redo the promise?
A: It should be redone after the desired result is seen.
And Allah Ta’ala Knows Best