This question already has an answer here:

I made a promise to Allah that I will not consume onion for four month if my husband loves me forever but unfortunately I consume chips which made up of onion powder. I am feeling so guilty, depressed and low because I disobey Allah, I'm also afraid that if my husband left me or does not love me. Is there any solution to do repentance?

marked as duplicate by Ahmed, The Z, Sassir, Jamila, goldPseudo Jan 15 at 20:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.