Is a wife considered divorced if her husband refused to go to bed with her (for sexual intercourse) for two months?
A wife doesn`t get divorced no matter for how long her husband refuses to have sex with her, and she had better go to court.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
I wish to Pray at the Mosque, but I couldn't because I am a Woman. How can I get such a Reward?
All perfect praise be to Allah The Lord of The Worlds, and may His peace and blessings be upon our Prophet Muhammad and upon all of his family and companions Abdullah Ibn Masood (May Allah be Pleased with him) reported that the Prophet (PBUH) said: "Her prayer inside her home is better than its courtyard, and her prayer in her own bedroom is better than inside her home." [Abu Dawood]. Her staying at home, and not going to the mosque in obedience to Allah`s injunctions entails a great reward similar to that bestowed on a man for going to the mosque since the Mercy and Blessings of Allah Prevails. And Allah Knows Best.
If husband doesn`t pray, but wife does, is their marriage contract considered valid or not?
All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Not observing daily prayers is a grave sin, but doesn`t invalidate a person`s marriage contract. However, we advise you to save your husband from hellfire by convincing him to observe the prescribed prayers. And Allah The Almighty Knows Best.