All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
narrated that the Prophet, sallallaahu ‘alayhi wa sallam, said: “I am not leaving behind me any trial of faith that is more harmful to men than women.” [Al-Bukhari and Muslim] The Hadeeth means that women may be a cause of the temptation of men into sin and the corruption of their religion and worldly lives.
Your wife’s story with her former male colleague – if proved to be true – is the best proof of what we said; and it was the way you took this matter lightly that caused this tragedy. There is no doubt that your wife had committed a grave mistake and failed to fulfill her duties to Allaah and her husband as well. Indeed, a believing wife guards her husband’s honor in his absence. Allaah, The Exalted, describes the believing women in the verse that reads (what means): {… So righteous women are devoutly obedient, guarding in [the husband's] absence what Allaah would have them guard…} [Quran 4:34] Quranic commentators explained, “The verse means that the believing wife guards her husband's honor and property in his absence.” For more benefit, please refer to Fatwa 228157.
The ruling on Talaaq Mu'allaq (conditional divorce) and its legal effects have been underlined in Fatwa 99468. According to the opinion of the majority of Muslim scholars – including the Hanafis – the divorce is effected whenever the condition is fulfilled, even if your intention was merely to threaten your wife. But according to the view held by Ibn Taymiyyah you are only obliged to pay expiation for breaking an oath (and the divorce does not become effective in this case). For more details, kindly refer to Fatwa 102811.
As for uttering a triple divorce in one instance and whether it is considered three pronouncements of divorce (irrevocable) or only one, the majority of Muslim jurists held that the three pronouncements of divorce in one instance is regarded as three divorces, unlike Ibn Taymiyyah who held that it counts as only one divorce as highlighted in Fataawa 94110 and 84170.
We would like to point out that if you did not utter the words of divorce and only wrote them down, then writing is regarded as a metaphor for divorce. In this case, the divorce does not become effective unless you had the intention of divorce. If you did not intend to divorce your wife when you wrote the words of divorce, then the divorce is not effected. For more benefit, please refer to Fataawa 87034 and 89894.
Finally, a husband should not hasten to utter divorce. The Islamic Sharee'ah has prescribed the means to treat the wife’s disobedience as underlined in Fatwa 85402.
Allaah Knows best.