All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad (ﷺ) is His Slave and Messenger.
It is better for your husband to consult a qualified scholar directly, as he is most aware of the exact words he uttered. Furthermore, there may be a need to clarify his intention or the level of anger he reached, as such matters can affect the legal ruling.
In general, and for the sake of benefit, we mention the following:
Firstly: Anger does not prevent the occurrence of divorce. In fact, divorce most often takes place during anger. Therefore, the divorce issued by an angry person is valid unless his anger reaches a level where he is no longer aware of what he is saying. Some scholars, however, are of the view that the ruling on divorce in a state of anger differs depending on the circumstances.
Secondly: If a husband says to his wife, “I will divorce you,” using the future tense, this is not considered a clear and explicit statement of divorce. Therefore, divorce does not take effect unless he intended to issue a divorce by it, or it is commonly understood in customary usage to mean an immediate divorce.
Thirdly: It is not required for the husband to mention his own name or his wife’s name for the divorce to take effect. Rather, it is sufficient that the statement is directed to the wife in any form, such as saying, “You are divorced.”
Fourthly: For a clear and explicit divorce to take effect, the wording must be attributed to the wife, such as saying, “My wife is divorced,” or “You are divorced.” As for merely uttering the word “divorced” without attributing it to the wife, this does not result in divorce.
Lastly, we emphasize the importance of hastening to consult the people of knowledge and not delaying in doing so. It may be that the woman has become unlawful for her husband without realizing it. A final and irrevocable separation occurs after three divorces, after which it is not lawful for the husband to take her back until she marries another husband in a genuine marriage, and that marriage then ends through death or divorce.
Allah Knows best