How Should I Relate to People Who Have Mocked Allah or Islam?
Hanafi Fiqh
Answered by Shaykh Faraz Rabbani
Question
What is the ruling regarding interaction, friendship, and closeness with three types of people:
(1) those who have insulted or mocked Allah or Islam, whether out of ignorance or not, whether relatives or friends;
(2) those who are not Muslim but do not insult Islam, whether apostates or others;
(3) those where one is unsure whether what they said counts as mockery —
Here, applying the maxim that certainty is not removed by doubt, if one later finds out that they did mock and still keeps them close, is one a disbeliever, or sinful?
And do the schools of aqida differ on this?
Answer
In the Name of Allah, the Merciful and Compassionate
You have sorted this carefully, and I will answer in your order. But let me settle the last part first, because it is the one carrying weight for you.
No, You Do Not Become a Disbeliever
Keeping company with someone who has mocked the religion does not remove you from Islam. Not if you knew, not if you found out later, not if you kept them close afterward.
Faith is the heart’s assent (tasdiq) to what the Messenger of Allah (Allah bless him and give him peace) brought. What is established by assent is undone only by rejection: the heart’s own denial of what it knows.
Nothing another person says can reach into your heart and reverse it. The consequence of keeping bad company falls entirely in the register of sin and blameworthiness, and depending on the case, may be no sin at all. It never touches Iman.
Set that fear down, and the rest of the question becomes manageable.
What the Prohibition Actually Is
Much confusion here comes from reading the verses on alliance (muwalat) as a general ban on warmth towards non-Muslims. They are not that, and the commentators say so plainly.
Imam Tabari, on the verse most often cited in this discussion, settles what taking them as allies means: “Allah, exalted be His mention, forbade the believers all of them to take the Jews and Christians as helpers and confederates against the people of faith in Allah and His Messenger, and others besides them; and He informed them that whoever takes them as helper, confederate and ally in place of Allah and His Messenger and the believers is one of them in partisanship against Allah and against His Messenger and the believers.” [Tabari, Jami al-Bayan]
And on the clause that frightens people most, “whoever of you allies with them is of them,” he says: “whoever allies with them and aids them against the believers is of the people of their religion and creed.” [Tabari, Jami al-Bayan]
Read what he specifies: helpers and confederates against the believers. Aiding them against the believers. Not neighborliness, not business, not affection.
Imam Jassas, our own school’s commentator on the legal verses, glosses the term the same way.
He defines allegiance itself: “Allegiance runs in two directions. One of them is the one who attends to the affairs of one whose conduct he approves, by support, aid, and protection.” [Jassas, Ahkam al-Quran]
And on the verse forbidding the believers to take the disbelievers as allies rather than the believers, he draws the ruling: “The verse entails the prohibition of seeking victory through the disbelievers, seeking their aid, leaning upon them, and placing trust in them.” [Jassas, Ahkam al-Quran]
Support, aid, protection, reliance, trust in a contest: that is the register the prohibition occupies.
And the Quran itself draws the line in two consecutive verses: “Allah but forbids you from those who have fought against you in religion and expelled you from your homes and abetted your expulsion, to help or befriend them as allies.” [Quran 60:9; Keller, The Quran Beheld]
And immediately before it, of everyone else: “Allah does not forbid you from those who have not fought against you in religion or expelled you from your homes to be good and kind to them and show them justice: Verily Allah loves the thoroughly just.” [Quran 60:8; Keller, The Quran Beheld]
Siding against the believers is what is barred. Kindness and justice are commanded.
An Objection Worth Naming
I should tell you that Imam Jassas says something harder a few lines earlier, and you may come across it.
Having gathered the verse on not taking Allah’s enemies as allies together with reports about not residing among the idolaters, he writes: “These verses and reports indicate that the disbelievers ought to be dealt with in harshness and coldness rather than gentleness and softness, so long as there is no situation in which one fears for the loss of his life, or the loss of some of his limbs, or great harm befalling him in himself; for if he fears that, he is permitted to display gentleness and alliance without holding it as a belief.” [Jassas, Ahkam al-Quran]
Two things about that passage. Look first at what he is commenting on: the verses and reports he has just assembled all concern enemies in a state of open hostility: those who fight, expel, and are to be broken from.
Look second at what he says in the next line, which I quoted above: allegiance means support, aid, and protection. He is describing a posture toward a hostile enemy, not a rule for your neighbor or your cousin.
And the Quran has already settled the case, his run of verses does not reach: “Allah does not forbid you from those who have not fought against you in religion or expelled you from your homes to be good and kind to them and show them justice.” [Quran 60:8; Keller, The Quran Beheld]
A ruling framed for wartime does not travel to peacetime by itself. Read Jassas beside that verse, and the picture is coherent: severity where there is hostility, goodness and justice where there is none.
Your Second Group: Non-Muslims Who Do Not Mock
This one is straightforward. Ordinary friendship, good treatment, business, neighborliness, and kinship with non-Muslims who do not attack the religion are permitted. Quran 60:8 above is the governing text, and it names goodness and justice as what Allah loves.
Apostates are a harder case in the books, because turning away from Islam after entering it is treated more gravely than never having entered.
But even there, the concern is the effect on your own religion and the message that keeping close company sends, not the loss of your faith. Judge it by that: does the closeness pull at your religion, or not?
Your First Group: Those Who Have Mocked
Here, the text is precise, and it is more merciful than people expect: “When you hear the verses of Allah denied and mocked, sit no more with them until they turn to something wholly else.” [Quran 4:140; Keller, The Quran Beheld]
And: “when you see those who idly discuss Our verses, get up and leave them till they turn to something wholly else.” [Quran 6:68; Keller, The Quran Beheld]
Read the condition and the release together. What triggers the obligation is the mockery happening, and what lifts it is their turning to something else. Both verses are bound to the act, not to the person.
You are commanded to leave the gathering while it is going on. You are not commanded to sever a person permanently for something once said.
Three things follow.
If it is happening now, leave. That is the direct command.
If it was said and is past, the ruling on sitting with them has lapsed. What remains is your own prudence: does their company harm your religion?
And if it was ignorance rather than contempt, which you rightly raise, the case is lighter still, and correcting them gently is worth more than withdrawing from them.
Many people say indefensible things about the religion, having never once been told it accurately.
Relatives Are a Separate Case
This cuts across everything above, and it is where the most damage is done by an overly strict reading.
Kinship rights are not conditional on the relative’s religion or conduct. Allah commands good companionship, even of parents who work actively to pull you into associating partners with Him: “if they do their utmost to make you worship with Me what you know nothing of, obey them; But companion them for the time in this world with gracious kindness.” [Quran 31:15; Keller, The Quran Beheld]
Obey them not, and companion them with gracious kindness. In one breath. If that is the standard for a parent calling you to shirk, then a relative who once mocked the religion in ignorance or anger keeps their rights of kinship in full.
Do not cut them off. Do not sit with them while they are mocking.
Your Third Group, and Your Maxim
Your use of the principle that certainty is not lifted by doubt is apt, and I want to affirm it, but check what you are applying it to.
Applied to the words: if you are unsure whether what was said counted as mockery, the default holds. The certain thing is a Muslim’s standing and the general permissibility of the company; a doubt does not overturn it. So do not act on a suspicion.
Applied to yourself: your own Islam is the certainty, and nothing you have described comes close to a doubt against it, let alone an established one.
And if you later learn for certain that they did mock, and you keep them close? You are not a disbeliever.
You may or may not be sinful, depending on what the closeness does: does it normalize contempt for the religion, does it wear at your own faith, or is it a kinship you are maintaining while making your position clear? Judge that honestly and act on it.
On the Schools of Aqida
The Asharis and Maturidis do not differ in substance on your question: keeping company does not remove a person from Islam. Where discussion exists in the books, it concerns the mocker’s own standing, not the standing of the one who sits with him.
And on that, one caution is worth more than any detail I could give you. Takfir, declaring a specific person outside Islam, is not for a private individual to undertake.
It has conditions that are difficult to establish, and the tradition treats it as dangerous precisely because getting it wrong is grave in both directions. Leave it to those qualified to rule.
In Practice
Leave any gathering where the religion is being mocked, while it is being mocked. That is the command, and it is the whole of what is obligatory here.
Keep your kinship ties regardless.
Choose your close friends by what they do to your religion, not by a category you have assigned them.
Correct ignorance kindly where you can; you may find that most of what alarmed you dissolves under a straight explanation.
And do not audit your own faith over the company you keep. That question has an answer: your faith is intact.
“and let not utter hatred for a people make you unjust.” [Quran 5:8; Keller, The Quran Beheld]
And Allah knows best.
[Shaykh] Faraz Rabbani
Related SeekersGuidance Answers
- Friendship With Non-Muslims: Explaining Verse 5:51 – Explains the meaning of Qur’an 5:51 through the classical commentaries and clarifies the limits of friendship with non-Muslims.
- Can a Muslim Have Non-Muslim Friends? – Gives the general ruling on friendship with non-Muslims and distinguishes permissible social relations from prohibited forms of allegiance.
- What Is the Ruling of Having a Non-Muslim as a Friend and Confidant? – Examines the ruling on close friendship and confiding in non-Muslim friends while maintaining Islamic principles of loyalty and faith.
- Is This Hadith, “A Man Follows the Religion of His Friend,” Literal? – Explains the meaning of the hadith concerning the influence of one’s companions and whether having a non-Muslim friend affects one’s faith.
- Is It Permissible To Have Non-Muslim Friends? – Discusses the etiquette and limits of friendship with non-Muslims, including maintaining good character and appropriate boundaries.
Shaykh Faraz Rabbani is a recognized specialist scholar in the Islamic sciences, having studied under leading scholars from around the world. He is the Founder and Executive Director of SeekersGuidance.
Shaykh Faraz stands as a distinguished figure in Islamic scholarship. His journey in seeking knowledge is marked by dedication and depth. He spent ten years studying under some of the most revered scholars of our times. His initial studies took place in Damascus. He then continued in Amman, Jordan.
In Damascus, he was privileged to learn from the late Shaykh Adib al-Kallas. Shaykh Adib al-Kallas was renowned as the foremost theologian of his time. Shaykh Faraz also studied under Shaykh Hassan al-Hindi in Damascus. Shaykh Hassan is recognized as one of the leading Hanafi jurists of our era.
Upon completing his studies, Shaykh Faraz returned to Canada in 2007. His return marked a new chapter in his service to the community. He founded SeekersGuidance. The organization reflects his commitment to spreading Islamic knowledge. It aims to be reliable, relevant, inspiring, and accessible. This mission addresses both online and on-the-ground needs.
Shaykh Faraz is also an accomplished author. His notable work includes “Absolute Essentials of Islam: Faith, Prayer, and the Path of Salvation According to the Hanafi School.” This book, published by White Thread Press in 2004, is a significant contribution to Islamic literature.
His influence extends beyond his immediate community. Since 2011, Shaykh Faraz has been recognized as one of the 500 most influential Muslims. This recognition comes from the Royal Islamic Strategic Studies Center. It underscores his impact on the global Islamic discourse.
Shaykh Faraz Rabbani’s life and work embody a profound commitment to Islamic scholarship. His teachings continue to enlighten and guide seekers of knowledge worldwide.
النصوص
[الطبري، جامع البيان، المائدة ٥١]
«والصواب من القول في ذلك عندنا أن يقال: إن الله تعالى ذكره نهَىَ المؤمنين جميعا أن يتخذوا اليهود والنصارى أنصارًا وحلفاءَ على أهل الإيمان بالله ورسوله وغيرَهم، وأخبر أنه من اتخذهم نصيرًا وحليفًا ووليًّا من دون الله ورسوله والمؤمنين، فإنه منهم في التحزُّب على الله وعلى رسوله والمؤمنين، وأن الله ورسوله منه بريئان».
[الطبري، جامع البيان، «ومن يتولهم منكم فإنه منهم»]
«فإنّ من تولاهم ونصرهم على المؤمنين، فهو من أهل دينهم وملتهم، فإنه لا يتولى متولٍّ أحدًا إلا وهو به وبدينه وما هو عليه راض».
[الجصاص، أحكام القرآن، آل عمران ٢٨، في الغلظة]
«فَهَذِهِ الْآيُ وَالْآثَارُ دَالَّةٌ عَلَى أَنَّهُ يَنْبَغِي أَنْ يُعَامَلَ الْكُفَّارُ بِالْغِلْظَةِ وَالْجَفْوَةِ دُونَ الْمُلَاطَفَةِ وَالْمُلَايَنَةِ، مَا لَمْ تَكُنْ حَالٌ يَخَافُ فِيهَا عَلَى تَلَفِ نَفْسِهِ أَوْ تَلَفِ بَعْضِ أَعْضَائِهِ أَوْ ضَرَرًا كَبِيرًا يَلْحَقُهُ فِي نَفْسِهِ، فَإِنَّهُ إذَا خَافَ ذَلِكَ جَازَ لَهُ إظْهَارُ الْمُلَاطَفَةِ وَالْمُوَالَاةِ مِنْ غَيْرِ صِحَّةِ اعْتِقَادٍ».
[الجصاص، أحكام القرآن، في معنى الولاء]
«وَالْوَلَاءُ يَنْصَرِفُ عَلَى وَجْهَيْنِ: أَحَدُهُمَا: مَنْ يَلِي أُمُورَ مَنْ يَرْتَضِي فِعْلَهُ بِالنُّصْرَةِ وَالْمَعُونَةِ وَالْحِيَاطَةِ».
[الجصاص، أحكام القرآن، النساء ١٤٤]
«فَإِنَّ الْوَلِيَّ هُوَ الَّذِي يَتَوَلَّى صَاحِبَهُ بِمَا يَجْعَلُ لَهُ مِنْ النُّصْرَةِ وَالْمَعُونَةِ عَلَى أَمْرِهِ… وَاقْتَضَتْ الْآيَةُ النَّهْيَ عَنْ الِاسْتِنْصَارِ بِالْكُفَّارِ وَالِاسْتِعَانَةِ بِهِمْ وَالرُّكُونِ إلَيْهِمْ وَالثِّقَةِ بِهِمْ».