He said to his wife: If you go out you are divorced, and he previously divorced her twice (talaaq)
Question

                I divorced my wife twice (talaaq), but I swore an oath to my wife, and said: “I swear by Allah the Almighty that if you go out of the front door you will be divorced three times, no ten times.” She broke the oath one hour after I swore it, and said to me: “Am I divorced from you now?” I am confused, because I have a daughter who is two months old and I do not know what to do now because I am very worried about my daughter. My intention at that time was that I would divorce her, but because of my worry for my daughter now I do not know whether this divorce counts as such or whether my wife was the cause, because she is immature and she broke the oath straight away therefore it would not count as a divorce.
Praise be to Allah.
      If a man says to 
      his wife: If you go out of the front door you are divorced, and his 
      intention was to divorce her, then if she goes out she is divorced, and if 
      this is the third divorce, she is irrevocably divorced from her husband 
      and is not permissible for him until she has been married to another 
      husband in a genuine marriage, not a tahleel marriage [i.e., one that is 
      arranged so that she can then get divorced and become permissible for her 
      first husband again], then he (the second husband) dies or divorces her. 

    This has been 
    discussed in the answer to question number
    82400. 

    Based on that, 
    this divorce counts as such and your wife is now irrevocably divorced from 
    you. 

    As for your saying 
    “my wife was the cause, because she is immature and she broke the oath 
    straight away”, you are the one who uttered the word of divorce and made it 
    conditional upon her action, so you are the one who caused the divorce to 
    happen, not your wife. 

    For this reason a 
    man should control his tongue and refrain from uttering the word of divorce, 
    so that the matter will not get out of hand and lead to him regretting it at 
    a time when regret will be of no benefit and breaking up his family and 
    harming himself and his children. 

    And Allah knows best.