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 is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
If the harm that is mentioned is the inability of sexual intercourse (being sexually impotent) and there is no erection, then she can ask for divorce. But you have the right to keep her for one year as ruled by 'Umar . She has no right to ask for divorce unless she did not know the harm before the marriage contract, or that she knew that after the marriage contract but did not express herself in a way that shows that she agrees with the situation. However, if the harm is not because of being sexually impotent then she has no right to ask for divorce. We advise her to be patient, beautify herself and be kind to you, and we advise you to seek treatment if you have any weakness in having sexual intercourse with her. If your wife insists on asking for divorce and marital life between yourselves has worsened, then it is more appropriate to divorce her, and it is permissible for you not to divorce her until she pays a compensational amount of money to you.
Finally, we draw your attention to the following matters:
Firstly, if you have uttered or written the wording of divorce to her, then she is divorced regardless whether or not the lawyer has completed the procedures of divorce.
Secondly, marriage and divorce are very complicated issues, and there are often arguments and disagreements about them, so it is more appropriate to refer to an Islamic court of justice.
Thirdly, it is not permissible for a Muslim to reside in a non-Muslim country if he is not able to perform his religious rites. If you are from a Muslim country, you are obliged to return to it unless there is a necessity or a dire need for staying in the non-Muslim country.
Fourthly, which is the most important of these matters, is that one should be careful about the seriousness of men chatting with women through the internet as this includes many prohibitions. It is most likely that the people who meet through the internet and then marry, their marriage will fail as it is not established on religious principles.
Allaah knows best.