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 someone to make a supplication to Allah to marry an already married, or an engaged woman?
No, it isn`t, and the person who does so is sinful before Allah, The Almighty.
What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
Is it permissible for a wife to refuse to go to bed with her husband (for sexual intercourse)?
It isn`t permissible for her to do so unless for a sound reason.