False accusations of dowry and marital rape being charged

Dear sir, My marriage happened on [deleted] and my wife has hardly stayed with me for 4 months at my place. The rest of the time she has been at her place due to one or the other reason. She went to her parents home on [deleted] and ever since she is staying there. On enquiring we were told that she doesn’t want to continue this relationship as I am not following 5 times daily salah on ‘time’ and do not pray tahajjud often. Idara e sharia heard her and said it’s not grounds to seek separation and she didn’t agree to continue this marriage. They said it would be khula and they have to return the ornaments as per sharia and they agreed to pay me 3 lakhs as compensation from them since she is breaking the marriage for no valid reason.and even gave this in writing. After agreeing to this, they went to Womens police station and filed a petition that I have asked dowry and have been cruel to her all this while on me and my mom, sister who stays in Saudi and younger brother who stays away from home for work. Now they have approached the station that they are framing me with section 376 and also on grounds of having unnatural sex with her. How can I get over from this ? Will it cause an immediate arrest ? How can she prove this ? What are the available options I have to prove my innocence? Pls help sir