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.
It is not permissible for you to abort your pregnancy for the reasons which you mentioned in the question; abortion is not permissible except in case of necessity like when the fetus constitutes a danger for the life of the mother. For more benefit, please refer to Fatwa 83891.
You should know that it is Allaah who is the Provider, and the provision of the child is written while he is still in the womb of his mother. Therefore, aborting him out of fear of poverty or fearing that he will not have a good life is a sort of having bad thoughts regarding Allaah; Allaah Says (what means): {And kill not your children for fear of poverty. We provide for them and for you. Surely, the killing of them is a great sin.}[Quran 17:31]
Therefore, we advise you if your husband does not repent and does not abide by the Religion of Allaah, and does not maintain good marital relationships with you, not to hesitate to ask him to divorce you; rather, it might be that staying with him is not permissible for you if he completely abandons the prayer. For more benefit, please refer to Fataawa 130955 and 136875.
If he refuses to divorce you without compensation, you may ask him for Khul’ (divorce at the request of the wife who pays compensation). For more benefit on Khul’, please refer to Fatwa 89039.
Allaah Knows best.