The Muslim who wishes to avoid shaking hands with the opposite gender can do so politely by placing a hand over the heart, smiling and giving a warm verbal greeting.
- The great majority of classical scholars, across the four schools, hold that touching a non-mahram person of the opposite sex is not permitted, based on the report that the Prophet (saw) never touched a woman's hand.
- Some contemporary scholars allow a handshake in cases of necessity, custom or without desire, so the matter is not entirely without dispute.
- Courtesy, a brief explanation and consistency make the practice easy to keep in workplaces and social settings.
- The aim is to follow the Sunnah of the Prophet (saw) while showing respect and avoiding offence to the other person.
Introduction
Many Muslims face the moment of an extended hand and are unsure what to do. The question has two parts: the religious ruling and the practical manner. This answer sets out the evidence and the scholarly positions, then gives practical advice for staying true to one's conviction while treating others kindly.
The evidence
The main report is from 'A'isha (ra) in Sahih al-Bukhari and Sahih Muslim: the hand of the Messenger of Allah (saw) never touched the hand of any woman. He would take their pledge only by speaking. In another report in the Muwatta' of Malik, Sunan al-Tirmidhi, Sunan al-Nasa'i and Sunan Ibn Majah, graded sahih by al-Albani, the Prophet (saw) said to Umayma bint Ruqayqa when women came to pledge allegiance: I do not shake hands with women. My word to one hundred women is like my word to one woman.
A hadith in al-Tabarani's al-Mu'jam al-Kabir says that it is better for a man to have an iron needle driven into his head than to touch a woman who is not lawful for him. Al-Albani graded it hasan in Silsilat al-Ahadith al-Sahiha. The Prophet (saw) is also reported to have said in the hadith of Abu Hurayra in Sahih al-Bukhari and Sahih Muslim that the eyes commit adultery and the hands commit adultery, and that the adultery of the hand is touching. Scholars take these reports together with the Qur'an's command to lower the gaze and guard chastity (24:30 to 24:31) and the command to avoid the means which lead to wrongdoing.
The scholarly positions
The majority of jurists of the four schools say that shaking hands with a non-mahram woman is not permitted. Among the Hanafis, Ibn 'Abidin in Radd al-Muhtar forbids touching in general but allows a man to take the hand of a very old woman who is past the age of desire, where there is no temptation. The Shafi'i jurist al-Nawawi in al-Majmu' and the Maliki jurists in their commentaries on Khalil forbid it, and al-Nawawi treats touching as forbidden unless there is a need. Hanbali jurists such as Ibn Qudama in al-Mughni speak in the same sense and allow touching in medical need.
Some contemporary scholars hold a more lenient view. Yusuf al-Qaradawi, in his fatwas, is widely reported to have allowed a handshake where there is no desire, it is the local custom and refusing may cause real harm, while stating that the stricter position is preferred and that avoiding it is closer to caution. Others, such as Ibn Baz, Ibn 'Uthaymin and al-Albani, rejected any exception and held that the reports on the Prophet (saw) show the rule. A few hold that the hadith of A'isha describes his personal practice and does not itself prove a ban, but the majority answer that his practice in this matter is a proof of the rule, in the way that scholars consider his consistent actions as legislation unless there is a reason to specialise them to him.
Close relatives such as a mother, sister, daughter and others who are mahram are exempt, and so are medical situations of need.
Practical ways to decline politely
The Prophet (saw) is described as the most gracious in his dealings, and a refusal should be done without harshness. Several approaches are used. A person can place his right hand over his heart, smile, and say salam with warmth. He can explain briefly that for religious reasons he does not shake hands with the opposite sex, and that it is nothing personal. He can extend the greeting with a few words about the other person to show interest in them, and he can keep an item such as a folder or a cup in the hand. Many people are glad to be told, and many have the same wish for personal reasons.
It helps to prepare in advance. A Muslim in a workplace can mention the practice at the start of a job or meeting so that no one feels surprised, and can offer a greeting suitable for all, for instance a nod or a wave. Consistency matters: if one declines with women and accepts with men, or the reverse, it appears as a matter of personal attraction and not principle, so a person should apply the practice to both sexes in the same way. Where a hand is placed in his before he can react, he should withdraw it gently and not cause embarrassment, since the aim is courtesy, and the sin of pride or harshness is worse than an unintended contact.
Common situations
Several situations come up often. At a job interview, a Muslim can greet first, with a smile and a nod, so the other side has no chance to offer a hand. At a wedding or funeral, where many relatives are present, a person may say that he does not shake hands, and offer condolences or congratulations in words. With a colleague who is a woman and offers her hand first, he can say gently that he does not shake hands with the opposite sex and wishes her well. Parents can teach children early so that the habit is natural. Where the other person is a non-Muslim and unfamiliar with the practice, a short explanation shows respect for the person and for the faith, and most are understanding. If an employer places a requirement on the person, he can seek advice from a trusted scholar and from workplace policies on religious practice.
The wider principle
The rule is part of a wider ethic of modesty (haya'), which the Prophet (saw) said is part of faith in Sahih al-Bukhari and Sahih Muslim. The Qur'an says the believers lower their gaze and guard their private parts (24:30). Respect between the sexes in Islam is meant to be expressed in words, kindness and fair dealing, and not by physical contact. A Muslim should also not judge those who differ on the ruling, as some scholars permit what others forbid, and nobody should insult a person for holding a considered opinion. Where a person has no choice, as in the case of medical care, the principle of necessity applies, and he must keep within its limits.
Conclusion
The surest course, in the view of most scholars, is to avoid shaking hands with non-mahram persons of the opposite sex and to do so with warmth. The evidence is the practice of the Prophet (saw) and the reports on his pledge, and those who allow exceptions do so on the grounds of need and custom, and still prefer caution. A friendly manner, a short explanation and consistency allow a Muslim to keep the Sunnah without causing offence.
References
The Qur'an: 24:30 to 24:31.
Sahih al-Bukhari and Sahih Muslim: the hadith of 'A'isha on the pledge of women; the hadith of Abu Hurayra on the adultery of the senses; the hadith on modesty.
Muwatta' Malik, Sunan al-Tirmidhi, Sunan al-Nasa'i, Sunan Ibn Majah: the hadith of Umayma bint Ruqayqa.
Al-Tabarani, al-Mu'jam al-Kabir; al-Albani, Silsilat al-Ahadith al-Sahiha.
Ibn 'Abidin, Radd al-Muhtar; al-Nawawi, al-Majmu'; Ibn Qudama, al-Mughni.
Yusuf al-Qaradawi, fatwas on social relations.