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 it permissible for a wife`s family to demand her husband to divorce her although she doesn`t want that?
It is forbidden for them to do that in case their daughter doesn`t want divorce unless there was a sin that continues as long as the marriage survives.
Is it permissible to pay the expiation of an oath to a charitable party as it feeds the poor and needy such as Tkiyet Um Ali?
There is no harm on authorizing someone to handle the expiation of another to the poor and needy, since Shafiee's jurists stated that authorizing someone for the purpose of distributing Zakah, expiation and vow is permissible as stated in [Mughni Al-Muhtajj,vol.3/pp.237]. At last, the intention of the person who intends to authorize someone else suffices in this regard. And Allah Knows Best.
What is the ruling on someone who vowed to fast for two consecutive months, but failed to do so?
He is obliged to fulfill his vow by fasting for two consecutive months, but if he fails to do so then, it remains a debt on him until he either fulfills his vow, or dies. In case of his death, his guardian is supposed to fast on his behalf, or donate food from his estate in return for fasting, but if the guardian fails to do so then, it is all in the Hands of Allah.