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.
Divorce is in the hand of the husband according to Islam. He is the one who can divorce his wife. So if the husband utters the word divorce intending it deliberately then she is divorced. But the divorce cannot be confirmed unless he testifies to that effect or two witnesses attest to it. If we suppose that divorce did not take place, we advise this woman to be patient about her husband. She should advise him and endeavour as much as possible to turn him into a righteous man, as there is much good in this for him and for her. If he takes heed, all perfect praise be to Allaah, but if he continues not to spend on her and commits adultery and beats her, then she can ask him to divorce her. If he does not accept her request, it is permissible for her to take the matter to an Islamic centre to relieve her from such harm. Being pregnant or not does not affect her asking for divorce.
Allaah knows best.