What Is the Ruling on Shaking Hands with the Opposite Gender (Non-Mahram)?

What Is the Ruling on Shaking Hands with the Opposite Gender (Non-Mahram)?

Question
What is the ruling on shaking hands with the opposite gender (non-mahram)?

Answer
Alhamdulillah, wassalatu wassalamu ala rasulillah, wa ala alihi wa sahbihi ajmain.

1. The Shar‘i Context

Islam seeks to preserve modesty and prevent fitnah. For this reason, Sharia regulates physical interaction between non mahram men and women.

Allah says:

“And do not come near zina. Indeed, it is an immorality and an evil way.”
Surat al Isra 17:32

The wording “do not come near” establishes that Islam blocks the means that lead to immorality, not only the act itself.

2. The General Prophetic Practice

The general and dominant practice of the Prophet was to avoid physical contact with non mahram women.

Aishah said:

“By Allah, the hand of the Messenger of Allah never touched the hand of a woman. He only took their pledge verbally.”
Sahih al Bukhari

This establishes the default ruling that intentional physical contact between non mahrams is not permissible.

There are authentic reports that the scholars discussed as qualifying the general rule, not canceling it.

The narration by Ibn Majah (417) and Ahmad (12780), in which Anas ibn Malik said:

“If a female servant from the people of Madinah took the hand of the Messenger of Allah, he would not withdraw his hand from hers until she took him wherever she wished in Madinah to fulfill her need.”

It is also reported from Abu Musa al Ashari that elderly women among his people would attend to him, including touching his hair, which scholars cited as evidence that elderly women who are not a place of desire are treated differently in fiqh discussions.

It is authentically established that women among the companions treated wounded men during battles.

Anas ibn Malik reported:

“The Messenger of Allah used to go out to battle with Umm Sulaym and some women of the Ansar, and they would give water to the fighters and treat the wounded.”
Sahih Muslim

These reports were understood by many scholars as evidence that contact with elderly women is not treated the same as contact with younger women, when desire and fitnah are genuinely absent.

4. Position of the Scholars

The scholars agreed on the following points:

  • The default ruling is that shaking hands with a non mahram of the opposite gender is not permissible.
  • Touching that is associated with desire or potential fitnah is prohibited by consensus.
  • A number of scholars permitted hand contact with elderly women when desire and fitnah are absent, based on the reports mentioned and on the understanding that the ruling follows the presence or absence of fitnah.
  • Even among those who allowed it, many still considered avoidance to be more cautious and closer to prophetic conduct.

Thus, this issue is not an absolute prohibition without exception, nor is it an open permission.

5. Relevant Usul Principle

الحكم يدور مع علته وجودا وعدما
A ruling revolves around its effective cause, existing when it exists and ending when it ends.

Here, the effective cause is fear of fitnah and desire. When it is present, prohibition applies. When it is genuinely absent, some scholars allowed an exception.

Final Ruling

The general ruling remains that intentional physical contact between non mahram men and women is not permissible.

However, authentic reports show that the Prophet allowed physical contact in cases of need, service, and absence of desire, particularly involving elderly women or medical necessity. These narrations do not establish a blanket permission, but they qualify the ruling and explain its boundaries.

Therefore, hand contact with elderly women or in cases of necessity may be permitted according to a valid scholarly view, while routine handshaking remains prohibited and avoiding it remains the safer and more cautious approach.

And Allah knows best.


Answered by:
Dr. Mahmoud A. Omar
Islamic Jurist and Mufti
Al-Azhar Fatwa Council Member

Methodology:
This fatwa is based on the Qur’an, the Sunnah, and the established principles of Islamic jurisprudence (Usool), with consideration of contemporary circumstances.