Question :

What is the ruling of Sharia on woman shaking hands with non-Mahram man?

The Answer :

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 {Peace & blessings be upon him} said {What means}: "It is better to be stabbed in the head than touch a woman to whom one isn`t related" {Transmitted by Tabarani in Al-Mo`jam Al-Kabir, 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).