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 buying shared land from someone who has taken possession of it considered halal or haram?
The shared land is possessed by the country i.e. for all people; therefore, it shouldn't be possessed/occupied save by it's guardian/owner permission,thusly it can't be possessed save by having owners' permission. Finally, buying it from a person who don't possess it is impermissible. 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.
What is the due amount of food in expiation for perjury?
It is feeding ten indigent persons: 600 grams (for each) of the average food of your families such as rice, and it is permissible, according to Imam Ahmad Bin Hanbal, to give that amount in money if it was more useful to them.