Fiqh Benefits From the Story of Kaʿb ibn Mālik
historical noteShaykh Yasir Qadhi explains:
The story also yields several points of fiqh.
❧Non-Muslims may enter the Ḥaramayn for a legitimate need
Contrary to a common belief, the majority position, acted upon through most of Islamic history, is that a non-Muslim may enter Makkah and Medina for a genuine purpose. The proof here is the Nabaṭī, a Christian trader from Shām, buying and selling in the market of Medina and carrying the Ghassānid king's letter. (In modern times it still happens quietly, the shaykh recalls German engineers in the Ḥaram of Medina in the 1990s who designed its celebrated retractable umbrellas.) And it is plainly permissible to buy and sell with people of other faiths.
❧Entering a semi-private space
Kaʿb climbed the wall into his cousin Abū Qatādah's garden without knocking. This shows the permissibility of entering a semi-private area when one is sure the owner would not mind, the old custom of an open courtyard or front room where kin and friends enter freely at known times, without announcing themselves, so long as they do not pass into the private house.
❧Sajdat al-shukr
Kaʿb's falling into sajdah on hearing the good news establishes the prostration of thanks. No explicit ḥadīth commands "prostrate when good news comes," but the concept is in the Qurʾān and Sunnah (فَخَرَّ رَاكِعًا وَأَنَابَ, of Dāwūd/Sulaymān) and in this incident. It needs no wuḍūʾ, since it is not ṣalāh; one faces the qiblah, and it is safest to say "Allāhu Akbar" and prostrate. It is a Sunnah worth reviving whenever good comes.
❧Publicizing good news, and standing to greet
It is permissible to proclaim good news to the whole community, the man calling out from the mountain. And it is permissible to rise and greet someone for a genuine reason so long as it is not made a fixed habit, Ṭalḥah rising for Kaʿb. This is balanced against the authentic ḥadīth condemning "whoever loves that people stand for him" (the sin falls on the one who craves it) and the Prophet's ﷺ dislike of the Companions rising for him, imitating "the Romans and Persians." Both texts hold: one does not make standing a routine for a particular person, but rising to welcome a returning traveler or a long-absent friend (as the Prophet ﷺ rose for his daughter, and bade them "rise for your master" for Saʿd) is entirely permitted.