In Islam, being a good neighbor is not simply a social courtesy — it is a religious obligation deeply rooted in the Quran and Sunnah. The Prophet Muhammad (peace be upon him) emphasized the rights of neighbors so strongly that his Companions believed neighbors might even be granted a share in inheritance. Understanding Islamic guidance on being a good neighbor helps us fulfill one of the most important yet often overlooked duties in our faith.
The Importance of Neighbors in Islam
Allah (SWT) has placed the rights of neighbors alongside the worship of Him alone and kindness to parents, highlighting just how significant this obligation is. In Surah An-Nisa, Allah commands:
وَاعْبُدُوا اللَّهَ وَلَا تُشْرِكُوا بِهِ شَيْئًا ۖ وَبِالْوَالِدَيْنِ إِحْسَانًا وَبِذِي الْقُرْبَىٰ وَالْيَتَامَىٰ وَالْمَسَاكِينِ وَالْجَارِ ذِي الْقُرْبَىٰ وَالْجَارِ الْجُنُبِ
"Worship Allah and associate nothing with Him, and to parents do good, and to relatives, orphans, the needy, the near neighbor, the neighbor farther away..."
— Surah An-Nisa (4:36)
This verse is a cornerstone of Islamic guidance on being a good neighbor. Allah mentions two types of neighbors — the near neighbor (al-jar dhil qurba) and the distant neighbor (al-jar al-junub) — indicating that our responsibility extends to all those who live around us, whether they are close relatives or strangers, Muslims or non-Muslims.
What the Prophet (PBUH) Said About Neighbors
The Sunnah of Prophet Muhammad (peace be upon him) is filled with guidance about treating neighbors with excellence. His teachings form the practical framework for how Muslims should interact with those living around them.
Jibreel's Repeated Emphasis
The Angel Jibreel (Gabriel) (peace be upon him) continuously reminded the Prophet (peace be upon him) about the rights of neighbors. In a famous Hadith:
The Prophet (ﷺ) said: "Jibreel kept advising me about the neighbor until I thought he would make him an heir."
— Sahih al-Bukhari 6014, Sahih Muslim 2624
This Hadith illustrates the extraordinary weight Islam places on neighborly rights. The fact that even inheritance was considered possible shows that a neighbor's status in Islam is comparable to that of close family members.
Faith and Neighborly Conduct Are Linked
The Prophet (peace be upon him) directly connected good treatment of neighbors to the completeness of one's faith (Iman):
The Prophet (ﷺ) said: "By Allah, he does not believe! By Allah, he does not believe! By Allah, he does not believe!" It was said, "Who, O Messenger of Allah?" He said, "The one whose neighbor is not safe from his evil."
— Sahih al-Bukhari 6016
This powerful narration — with the Prophet (peace be upon him) swearing three times — makes it clear that harming or troubling your neighbor is a serious matter that undermines a Muslim's very faith.
Belief in Allah Requires Kindness to Neighbors
The Prophet (ﷺ) said: "Whoever believes in Allah and the Last Day, let him not harm his neighbor. Whoever believes in Allah and the Last Day, let him honor his guest. Whoever believes in Allah and the Last Day, let him speak good or remain silent."
— Sahih al-Bukhari 6018, Sahih Muslim 47
Here, kindness to neighbors is listed alongside core aspects of Islamic conduct — hospitality and mindful speech — all tied to belief in Allah and the Day of Judgment.
Rights of Neighbors in Islam
Islamic scholars have outlined several specific rights that neighbors hold over one another. Fulfilling these rights is part of living according to Islamic guidance on being a good neighbor.
1. Do Not Cause Harm
The most fundamental right is protection from harm. This includes physical harm, verbal abuse, excessive noise, encroaching on their property, and any action that causes discomfort. The Prophet (ﷺ) said:
"There should be neither harm nor reciprocal harm."
— Sunan Ibn Majah 2341
This principle (la darar wa la dirar) is one of the five major maxims of Islamic jurisprudence and applies directly to how we treat our neighbors.
2. Share Food and Provisions
Sharing food with neighbors is a beautiful Sunnah that builds community bonds. The Prophet (peace be upon him) specifically advised:
The Prophet (ﷺ) said: "O Abu Dharr, when you cook broth, increase the water and share it with your neighbors."
— Sahih Muslim 2625
This simple yet profound advice transforms an everyday activity — cooking — into an act of worship and community building. Even a small gesture like sharing food creates bonds of love and solidarity. This Sunnah remains a living tradition across the Muslim world — in Pakistan, South Asia, and the Middle East, families still send plates of food to their neighbors, especially during Ramadan and on Eid. Even if the food is modest, the act of sharing carries immense reward, and no act of generosity should ever be looked down upon, no matter how small it may seem.
3. Check on Their Wellbeing
A good Muslim neighbor is aware of the conditions of those living nearby. Are they sick? Do they need help? Are they going through financial hardship? The Prophet (ﷺ) warned:
"He is not a believer who eats his fill while his neighbor beside him goes hungry."
— Al-Adab al-Mufrad 112
This Hadith establishes a communal responsibility — we cannot claim to be true believers while ignoring the suffering of those who live near us.
4. Protect Their Privacy and Honor
Islam strictly forbids spying on neighbors, gossiping about them, or violating their privacy. Allah says in the Quran:
يَا أَيُّهَا الَّذِينَ آمَنُوا اجْتَنِبُوا كَثِيرًا مِّنَ الظَّنِّ إِنَّ بَعْضَ الظَّنِّ إِثْمٌ ۖ وَلَا تَجَسَّسُوا وَلَا يَغْتَب بَّعْضُكُم بَعْضًا
"O you who have believed, avoid much suspicion. Indeed, some suspicion is sin. And do not spy or backbite each other..."
— Surah Al-Hujurat (49:12)
Guarding the privacy and reputation of our neighbors is a direct Quranic commandment that reflects the Islamic emphasis on dignity and trust within communities.
5. Be Patient with Their Shortcomings
No human is perfect, and neighbors may sometimes cause inconvenience. Islam encourages patience (sabr) and forgiveness rather than retaliation. Allah praises those who practice patience:
وَالْكَاظِمِينَ الْغَيْظَ وَالْعَافِينَ عَنِ النَّاسِ ۗ وَاللَّهُ يُحِبُّ الْمُحْسِنِينَ
"...who restrain anger and who pardon the people — and Allah loves the doers of good."
— Surah Aal-e-Imran (3:134)
6. Offer Help and Support
Whether it is assisting with a task, lending tools, offering a ride, or simply being available in times of need — helping neighbors is a valued act of worship in Islam. The Prophet (ﷺ) said:
"The most beloved people to Allah are those who are most beneficial to people."
— Al-Mu'jam al-Awsat
Three Categories of Neighbors
Islamic scholars, based on the Hadith literature, have identified three categories of neighbors, each with varying levels of rights:
- The Muslim relative neighbor — has three rights: the right of kinship, the right of Islam, and the right of neighborhood
- The Muslim non-relative neighbor — has two rights: the right of Islam and the right of neighborhood
- The non-Muslim neighbor — has one right: the right of neighborhood
This classification shows that even non-Muslim neighbors have rights in Islam. Every person living near you deserves kindness, respect, and good treatment regardless of their faith background.
Practical Ways to Be a Good Neighbor in Islam
Putting Islamic guidance on being a good neighbor into practice requires consistent effort. Here are actionable steps rooted in the Sunnah:
- Greet them with Salam — A cheerful greeting builds warmth and trust. The Prophet (ﷺ) encouraged spreading Salam widely.
- Share food regularly — Cook a little extra and send a portion to your neighbor. This was the consistent practice of the Companions.
- Visit them when sick — Checking on an ill neighbor is both a right and a source of immense reward in Islam.
- Attend their funerals — Offering condolences and joining funeral prayers strengthens community bonds.
- Avoid loud noises — Be mindful of noise levels, especially during prayer times and late at night.
- Resolve disputes amicably — If a disagreement arises, seek reconciliation with kindness rather than escalation.
- Give gifts — The Prophet (ﷺ) said: "Give gifts to one another, for gifts remove grudges from the heart." (Tirmidhi 2130)
- Protect their property — Watch over your neighbor's home when they are away and safeguard their belongings.
- Make dua for them — Pray for your neighbors' wellbeing, health, and guidance.
- Invite them to Islamic gatherings — Share knowledge and invite neighbors to beneficial events with kindness and without pressure.
Warnings Against Mistreating Neighbors
Just as Islam promises great reward for treating neighbors well, it also warns severely against those who mistreat them. The Prophet (ﷺ) mentioned a woman who would pray at night and fast during the day but harmed her neighbors with her tongue:
A man said to the Prophet (ﷺ): "O Messenger of Allah, such-and-such woman prays at night, fasts during the day, and gives charity, but she harms her neighbors with her tongue." He said, "She is in the Hellfire."
— Al-Adab al-Mufrad 119
This narration is a sobering reminder that acts of worship — no matter how many — cannot compensate for harming those around us. A Muslim's character with their neighbors is a direct reflection of their faith.
Neighbors' Rights in the Modern Context
In today's world, the concept of neighborhood has expanded. We live in apartment buildings, housing societies, and urban environments where interactions with neighbors are different from the time of the Prophet (ﷺ). However, the principles remain the same:
- In apartments — Be mindful of noise, maintain shared spaces, and respect parking areas
- In online communities — Some scholars extend neighborly conduct to digital interactions with those in our immediate social circles
- At the workplace — Colleagues who sit near us also have rights similar to neighbors, as we spend significant time together
- In diverse neighborhoods — Islam's guidance on treating non-Muslim neighbors with kindness is especially relevant today
Being a Representative of Islam
For Muslims living in diverse communities, good neighborliness is also a form of dawah (inviting others to Islam through example). When non-Muslim neighbors experience the kindness, generosity, and consideration of their Muslim neighbors, they witness the beauty of Islamic values in action. Many scholars emphasize that the best invitation to Islam is not through words alone but through the character and conduct of Muslims in their daily lives — and being an exemplary neighbor is one of the most powerful ways to embody this principle.
The Quran reminds us that diversity is by Allah's design:
يَا أَيُّهَا النَّاسُ إِنَّا خَلَقْنَاكُم مِّن ذَكَرٍ وَأُنثَىٰ وَجَعَلْنَاكُمْ شُعُوبًا وَقَبَائِلَ لِتَعَارَفُوا
"O mankind, indeed We have created you from male and female and made you peoples and tribes that you may know one another..."
— Surah Al-Hujurat (49:13)
Conclusion
Islamic guidance on being a good neighbor is comprehensive, covering everything from avoiding harm to actively doing good. The Quran places neighborly rights alongside the worship of Allah, and the Prophet (ﷺ) linked good treatment of neighbors to the very essence of faith. In a world where communities are becoming increasingly disconnected, reviving these Prophetic teachings can transform our neighborhoods into places of mercy, support, and mutual care.
Let us strive to be the kind of neighbor the Prophet Muhammad (peace be upon him) described — one whose neighbor feels safe, cared for, and valued. For in doing so, we not only build stronger communities but also earn the pleasure of Allah (SWT).
May Allah grant us the ability to fulfill the rights of our neighbors and make us among those who are beloved to Him. Ameen.
On UmmeSaad.org you can also read the Quran online with translation or find the Qibla direction.