Praise be to Allah.
In this case you have to leave her, because in this situation she has entered Islam and then left it, and this is regarded as kufr, rejecting the sound religion and apostasy from Islam. If she insists on refusing to pray and fast and do everything that is required of the Muslim, and she has not given up haraam things, then we think that you should leave her. Whoever fears Allah, He will grant him a way out. Allah says (interpretation of the meaning): “But if they separate (by divorce), Allaah will provide abundance for everyone of them from His Bounty” [al-Nisa’ 4:130].