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).
I am an author, and I have books stored with me. Is it permissible to pay my zakat in the form of books containing beneficial knowledge for poor students, such as chemistry and mathematics, or religious books that spread Islamic sciences?
Zakat on wealth must be paid in cash from the wealth itself. Therefore, you should pay your zakat in monetary form so that the poor can purchase what they need. And Allah Knows Best.
Is it permissible for a woman to ride a taxi without a Mahram (unmarriageable kin) in order to attend a gathering of knowledge?
It is permissible for the woman to pursue the knowledge that she needs in order to perform the religious requirements due on her if there was nobody to teach her at home, provided that there is no temptation involved. Moreover, we don`t recommend that she rides a taxi without a Mahram although such an act isn`t from the forbidden Khulwah (seclusion).
Is it permissible to pay the Zakah to my grandmother who lives alone in a rented accommodation with bad conditions noting she had three sons.
Zakah cannot be given to ascendants (parents and grandparents). It is obligatory for her sons and grandsons to provide for her, and they would be sinful if they fail to do so. And Allah Knows Best.