Is it permissible for a person who had vowed to give a certain amount of money to another, but didn`t find the latter to donate that money to the mosque?
In principle, the vowing person should abide by his vow as much as possible. Therefore, if he couldn`t find the person that he had made the vow for, then the vow itself is countless and nothing is due on its maker. However, if the latter happens to find the former later on then, he has to give him that money.
What is the ruling of Sharia when a man releases his sperm out of his wife`s vagina?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
This is called coitus interruptus and it is permissible according to Sharia when practiced by agreement of both spouses. And Allah The Almighty Knows Best.
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.
What is the ruling of Sharia on woman shaking hands with non-Mahram man?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
The Messenger of Allah (PBUH) said: "It is better to be stabbed in the head than touch a woman to whom one isn`t related." [Transmitted by Al-Tabarani /Al-Mo`jam Al-Kabir, Hadith No.16880]. Accordingly, it is forbidden for men to shake hands with non-Mahram* woman. And Allah The Almighty Knows Best.
* The women/men that you are allowed to marry. It includes all women/men other than mahram (including cousins).