Why Friendship Is a Spiritual Matter in Islam
"A person is upon the religion of their close friend, so let each of you look carefully at whom they take as a close friend." (Considered sound by scholars, reported in Sunan Abu Dawud)
This statement from the Prophet Muhammad (peace be upon him) is one of the most practically important things he ever said about social life — and one of the most ignored in modern Muslim parenting discussions. Friendship, in Islam, is not a private lifestyle choice. It is a spiritual influence. The people a child spends time with are shaping their character, their habits, their worldview, and ultimately their relationship with Allah.
This does not mean Muslim children should be isolated, suspicious, or unable to mix with those who are different. Quite the opposite. Islam produced a civilisation of extraordinary social confidence, hospitality, and engagement with the world. But it does mean that friendship — particularly close, intimate friendship — deserves the same deliberate, thoughtful approach that Muslim parents give to education, diet, and worship.
What Makes a Good Friend, Islamically?
The Islamic tradition is rich with guidance on the qualities of a good companion. Ibn Qayyim al-Jawziyyah, one of the great classical scholars, wrote extensively about the influence of companions on the heart. The Prophet (peace be upon him) used a beautiful analogy:
"The example of a good companion and a bad companion is that of the carrier of musk and the one who blows the bellows. As for the carrier of musk, he will either give you some, or you will buy some from him, or at least you will smell its pleasant scent. As for the one who blows the bellows, either he will burn your clothes or you will smell an unpleasant odour from him."
— Prophet Muhammad (peace be upon him) (Sahih al-Bukhari)
The musk-and-bellows analogy is so vivid that even young children can grasp it. Good companions leave something good on you — good habits, good values, good memories. Bad companions leave their mark too, and it is not pleasant.
What qualities should a Muslim child look for in a close friend?
- Honesty. A friend who tells you the truth, including when it is hard to hear, is more valuable than one who flatters.
- Good values. Not necessarily a Muslim friend (more on this below), but one whose values are aligned with the fundamentals: honesty, kindness, loyalty, and respect.
- Positive influence. Does this friendship make your child want to be better, work harder, and do good? Or does it consistently pull them toward what is harmful?
- Loyalty. The Prophet (peace be upon him) described the rights of brotherhood (and sisterhood) extensively — visiting when ill, answering when called, defending in absence. A friend who keeps confidences and stands by you is a gift.
What Makes a Good Friend to Others?
Islamic friendship ethics focus as much on being a good friend as on having one. The Prophet (peace be upon him) said: "None of you truly believes until he loves for his brother what he loves for himself." (Sahih al-Bukhari) This is the foundation of Islamic friendship: genuine care for the other person's wellbeing — not just enjoying their company, but wanting good for them.
In practice, this means teaching children to:
- Keep secrets. Whatever a friend shares in confidence stays private. Gossip (ghibah) about friends is a serious sin in Islam.
- Stand up for friends. When a friend is being bullied or unfairly criticised in their absence, a Muslim friend defends them. The Prophet (peace be upon him) described defending a friend's honour in their absence as one of the rights of Islamic brotherhood.
- Be happy for their success. Jealousy (hasad) is spiritually corrosive. Teaching children to genuinely celebrate a friend's achievement — to say "Mashallah, I'm so happy for you" and mean it — is one of the most valuable character lessons in Islamic social ethics.
- Give sincere advice. "If you see your brother doing wrong, advise him" — this is part of the Islamic understanding of friendship. A true friend is not one who enables poor choices to protect a relationship, but one who cares enough to speak honestly.
What About Friendships with Non-Muslims?
This is one of the most common and most misunderstood questions in Muslim parenting. Many Muslim children grow up in schools, neighbourhoods, and communities where most of their peers are not Muslim. How do we handle this?
Islam distinguishes between different types of relationships with non-Muslims. General social interaction, neighbourliness, cooperation, and kindness toward non-Muslims is not only permitted — it is encouraged and in many cases obligatory. The Prophet (peace be upon him) was known for his warmth, generosity, and good dealings with Jews, Christians, and polytheists throughout his life. The Quran explicitly states: "Allah does not forbid you from those who do not fight you because of religion and do not expel you from your homes — from being righteous toward them and acting justly toward them. Indeed, Allah loves those who act justly." (Quran 60:8)
Having non-Muslim classmates, neighbours, and acquaintances is entirely normal and good. Muslim children should be taught to be excellent in their dealings with everyone — kind, fair, helpful, and good-mannered regardless of the other person's faith.
The distinction that Islamic scholarship makes is around intimate, close friendship — the kind where one person deeply shapes another's values, habits, and worldview. This is the context for the guidance about choosing companions carefully. Not "don't talk to non-Muslims," but "choose carefully who you allow to have deep influence over your heart."
In practice, this means Muslim parents can be relaxed and positive about their children having non-Muslim friends at school while being thoughtful about who the truly close, intimate companions are — the ones their child confides in, emulates, and spends the most formative time with.
Teaching Children to Choose Friends Well
How do we actually teach children — especially young ones — to make wise friendship choices? Here are some approaches grounded in Islamic values:
Name What Good Friendship Looks Like
From an early age, give children language for the qualities of good friendship. "That was kind of Fatima — she shared her snack with you without being asked. That's what a good friend does." "When Yusuf lied to you, how did that make you feel? Do you want a friend who lies?" Naming these things makes them concrete and memorable.
Ask About Their Friends
Regular, curious, non-interrogative questions about your child's friendships build connection and awareness. "Tell me about your friends at school — who do you like spending time with? What do you like about them?" This opens the door to natural conversations about character without triggering defensiveness.
Model Your Own Friendship Values
Children watch how their parents talk about friends — and how they talk about people when those people are not present. If you speak kindly about your friends, are loyal and reliable, and handle friendship difficulties with honesty and dignity, you are giving your children a living education in Islamic friendship ethics.
Use the Prophetic Stories
The greatest example of friendship in Islamic history is the relationship between the Prophet (peace be upon him) and Abu Bakr al-Siddiq (may Allah be pleased with him). Abu Bakr was the first adult male to accept Islam, the Prophet's companion in the hijra (migration to Madinah), and his closest friend throughout his life. Their friendship was built on shared faith, shared sacrifice, and extraordinary mutual loyalty. Tell this story to your children — it is one of the most beautiful friendship stories in all of human history.
When Your Child Has a Difficult Friendship
Every child will, at some point, face friendship difficulties — being left out, betrayed, or pressured to do something they know is wrong. These moments, while painful, are among the most important learning opportunities available.
When a child is betrayed by a friend, resist the impulse to immediately dismiss the friend as "bad." Instead, use it as a conversation about what happened, how your child felt, what Islamic friendship ethics say about it, and how to handle the situation with dignity and honesty. "What do you want to do? Is this a friendship worth repairing? What would a good Muslim do here?"
When a child is pressured to do something wrong by friends, it is a test of character that needs to be supported, not minimised. "I'm proud of you for saying no. That was hard, and you did it. That's what taqwa looks like in real life."
The Companions of Paradise
"Close friends on that Day will be enemies to each other, except for the righteous."
— Quran 43:67
This verse is sobering and clarifying. On the Day of Judgement, friendships built on anything other than righteousness will turn to enmity. Only the friends who brought each other closer to Allah will still be friends.
The goal of Islamic friendship education is not to make children suspicious or friendless — it is to help them build relationships so grounded in good values that those relationships survive even the ultimate test. Friendships in this world that are built on goodness, honesty, and mutual support in faith are among the greatest gifts this life offers.
Raise children who are excellent friends: loyal, honest, generous, and kind. And help them recognise the rare gift of a friend who makes them want to be a better Muslim. Those are the friends worth keeping for life.
For more on raising children with strong Islamic character and values, visit our Learn blog and explore our Islamic educational resources at Gold Olive Tree.