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 the wife to give the Zakah (obligatory charity) of her money to her poor husband?
Yes, it is permissible for the wife to give from the Zakah of her money to her poor husband. And Allah Knows Best.
What is the ruling on having brotherly ties between a strange man and a strange woman, and is the former considered a Mahram (unmarriageable) to the latter?
Such a relation between a strange man and a strange woman is forbidden in Islam because it involves forbidding what Allah has allowed by marriage, and allowing what Allah has forbidden such as looking and the like. Such a relation doesn`t render any act lawful between them, thus they are forbidden to look at each other, have a Khulwah (seclusion), and travel together.
How does a praying person prostrate?
All perfect praise be to Allah,The Lord of The Worlds It is from Sunnah that he/she sits with both knees on the ground in order to prostrate, then hands, nose and forehead are placed on the same place. In addition, the toes have to touch the ground, and be directed towards the Qiblah (direction of Ka`bah) during prostration. And Allah Knows Best.