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.
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.
What is the ruling when the monthly period when exceeding (15) days?
The maximum duration of menstruation is 15 days. If it exceeds this, it is considered irregular bleeding (Istihada). In this case, one must perform ghusl (Ritual bath) after menstruation, pray, and make wudu for each prayer after its time begins. She should return to her previous menstrual habit regarding duration and timing. For example, if her period used to be from the 20th to the 27th of each month, this is considered her menstruation period. Anything before or after this is Istihada, during which she only leaves prayer and fasting for the habitual menstrual days, then performs ghusl and resumes praying.
What should a mensurating woman, or in state of confinement do if she became ritually pure during the daytime of Ramadhan ?
If she became pure during the daytime of Ramadhaan, is desirable to complete her fasting during that day, and to make up for it along with other missed days due to menstruation. And Allah Knows Best.