Rights of Neighbours in Islam: What the Quran and Sunnah Command
Few relationships test a person’s character like the one with the people who live next door. Family we choose to honour, friends we choose to keep — but a neighbour is simply there, sharing our street, our walls, our water lines and our daily peace. Islam refuses to treat this relationship as an accident of geography. In the Quran and the Sunnah, the neighbour holds a rank so high that he is mentioned alongside parents and close family, and the Prophet ﷺ linked the way we treat him directly to the reality of our faith itself.
Below are the rights of neighbours as Allah and His Messenger ﷺ actually stated them — with the exact verse and hadith references, so you can check every point for yourself.
1. The Quran’s Command: Two Kinds of Neighbours
Allah places the neighbour inside the great verse of social duties in Surah An-Nisa, immediately after parents, relatives, orphans and the needy:
“Worship Allah, and do not associate with Him anything, and be good to parents and to kinsmen and orphans and the needy and the close neighbor and the distant neighbor and the companion at your side and the wayfarer and to those (slaves who are) owned by you. Surely, Allah does not like those who are arrogant, proud,” (Quran 4:36)
Notice the verse names two kinds of neighbours. The close neighbour is the one near to you — in distance, in kinship, or in faith. The distant neighbour is the stranger: the one far in distance or unrelated to you. The command of goodness covers both. Your duty is not limited to the Muslim family next door who share your background; the person across the street whom you barely know also falls under this verse. Neighbourliness in Islam is not selective kindness — it is a standing obligation owed to whoever lives near you.
2. Jibreel’s Persistent Counsel — Almost an Heir
How seriously does heaven take this duty? Aisha (may Allah be pleased with her) reported that the Prophet ﷺ said:
“Gabriel continued to recommend me about treating the neighbors kindly and politely so much so that I thought he would order me to make them as my heirs.” (Sahih al-Bukhari 6014 — Sahih)
The same report comes in Sahih Muslim:
“Gabriel impressed upon me (kind treatment) towards the neighbour (so much) that I thought as if he would confer upon him the (right) of inheritance.” (Sahih Muslim 2624 — Sahih)
An heir is not a casual acquaintance. An heir is family — someone with a legally protected share in what you leave behind. The angel Jibreel returned to this one social duty so persistently that the Prophet ﷺ expected the neighbour to be granted a share of inheritance itself. No other everyday relationship is described in these terms. When Allah repeats a counsel through His angel until it reaches that intensity, the message is unmistakable: the neighbour’s right is among the heaviest rights in the religion.
3. Honouring the Neighbour: A Sign of Faith
The Prophet ﷺ tied neighbourly conduct to belief itself. Abu Huraira reported that the Messenger of Allah ﷺ said:
“He who believes in Allah and the Last Day should either utter good words or better keep silence; and he who believes in Allah and the Last Day should treat his neighbour with kindness and he who believes in Allah and the Last Day should show hospitality to his guest.” (Sahih Muslim 47 — Sahih)
The structure of this hadith deserves attention. Treating the neighbour with kindness is placed between two other marks of faith — guarding the tongue and honouring the guest. A person may pray and fast, but the Prophet ﷺ measures the completeness of faith by what the people closest to his daily life experience from him. Kindness to the neighbour is not decoration on top of religion; in this hadith it is presented as evidence of religion.
4. Safety From Your Harm: The Line Faith Draws
Kindness is the positive side. The negative side is just as strict: your neighbour must be safe from you. Abu Huraira reported the Prophet ﷺ as saying:
“Anybody who believes in Allah and the Last Day should not harm his neighbor, and anybody who believes in Allah and the Last Day should entertain his guest generously and anybody who believes in Allah and the Last Day should talk what is good or keep quiet.” (Sahih al-Bukhari 6018 — Sahih)
And the warning is stated at its most severe in another narration:
“He will not enter Paradise whose neighbour is not secure from his wrongful conduct.” (Sahih Muslim 46 — Sahih)
Harm takes many modern forms, and most of them are ordinary rather than dramatic: noise that steals a family’s sleep, disputes over parking and boundaries pursued with arrogance, prying into a neighbour’s private life, blocking shared access, backbiting about the people on your own street. The standard the Prophet ﷺ set is not merely “do not strike your neighbour” — it is that your neighbour should feel secure from your conduct altogether. A neighbourhood where people lock their doors against each other’s behaviour has failed this test, whatever its residents claim of faith.
5. Feeding Your Neighbour: The Extra Water in the Broth
The Sunnah descends from principle to the kitchen. Abu Dharr (may Allah be pleased with him) reported:
“Allah’s Messenger (ﷺ) said to me: Abu Dharr, when you prepare the broth, add water to that and give that (as a present) to your neighbour.” (Sahih Muslim 2625 — Sahih)
The beauty of this instruction is its realism. The Prophet ﷺ did not command the poor companion to slaughter an animal or cook a second meal. He told him to add water — to stretch what was already cooking so that a portion could travel next door. Sharing food with neighbours, then, is not an act reserved for the wealthy or for festivals. A pot of broth, a plate from your own dinner, a share of whatever is already on your stove: this is the level at which the Sunnah builds the habit. The household that routinely sends food across the wall will rarely be the household at war with its neighbours.
6. Never Too Small to Give: Gifts Between Neighbours
Many people withhold kindness because they are embarrassed by how little they have. The Prophet ﷺ removed that excuse directly, addressing the women of the community:
“O Muslim ladies! A neighbouress should not look down upon the present of her neighbouress even it were the hooves of a sheep.” (Sahih al-Bukhari 6017 — Sahih)
“O Muslim women, none of you should consider even a sheep’s trotter too insignificant to give to her neighbour.” (Sahih Muslim 1030 — Sahih)
A sheep’s trotter has almost no meat on it. That is precisely the point. The value of a gift between neighbours is not measured by its price but by the relationship it builds: the knock on the door, the thoughtfulness, the refusal to let a wall become a barrier. Do not wait until you can afford something impressive — the Sunnah counts the smallest gift as a real gift. For more on the etiquette and blessings of giving, see our guide to the etiquette and Sunnahs of gifts.
7. The Beam in the Wall: Letting Your Neighbour Benefit
The Sunnah’s teaching on neighbours reaches into property itself. Abu Huraira reported that the Messenger of Allah ﷺ said:
“None among you should prevent his neighbour from fixing a beam in his wall.” (Sahih Muslim 1609 — Sahih)
The narration in Sahih al-Bukhari carries the same command:
“No one should prevent his neighbor from fixing a wooden peg in his wall.” (Sahih al-Bukhari 2463 — Sahih)
In the building practice of the time, resting the end of a beam in a neighbour’s wall cost the wall’s owner nothing, yet refusing it could make the neighbour’s construction impossible. The Prophet ﷺ forbade the refusal. Abu Huraira himself was so insistent on spreading this teaching that he swore he would keep narrating it to people who seemed to dislike hearing it.
8. The Best Neighbour in Allah’s Sight
The final word belongs to a hadith that turns neighbourliness into a competition worth entering. Abdullah ibn Amr reported that the Messenger of Allah ﷺ said:
“The companion who is the best to Allah is the one who is best to his companion. And the neighbor that is the best to Allah is the one that is best to his neighbor.” (Jami’ at-Tirmidhi 1944 — Sahih)
Allah’s ranking of neighbours is not based on wealth, lineage or learning. The best neighbour with Allah is simply the one who is best to his neighbour. Every street therefore contains a quiet contest that anyone can win: the one who greets first, shares first, forgives first and harms never. If you want to go deeper into this whole subject, our Islamic manners library has a full entry on the etiquette towards neighbours, alongside dozens of other everyday etiquettes from the Quran and Sunnah. And the Duas section will help you keep those neighbours in your daily prayers.
Common Questions
Do these rights apply to a non-Muslim neighbour? Yes. The Quran’s command in Surah An-Nisa covers “the distant neighbor” alongside the close one, without restricting goodness to any single group, and the Prophet’s ﷺ warnings about harming a neighbour are stated in general terms. Safety, kindness and sharing are owed to whoever lives beside you.
My neighbour is the difficult one. What does Islam ask of me then? The duties described above are not made conditional on the neighbour deserving them. The Prophet ﷺ commanded speaking good or remaining silent, and warned that the one whose neighbour is not secure from his wrongful conduct will not enter Paradise. You fulfil your side for Allah’s sake; a neighbour’s bad behaviour does not cancel the rights Allah gave him over you.
Is a very small gift really worth giving? The Prophet ﷺ explicitly forbade looking down on even a sheep’s trotter as a gift between neighbours (Bukhari 6017, Muslim 1030). The gift’s purpose is the bond, not the item — so yes, give the small thing rather than nothing.
How near does someone have to be to count as my neighbour? The Quran divides neighbours into the close and the distant without drawing a boundary line in houses or metres, and the hadiths address the people around one’s home in general terms. The households around you — near or a little farther — are the people these verses and hadiths are speaking about.
Conclusion
The neighbour in Islam is not background scenery. Allah named him in the same verse as parents and orphans; Jibreel pressed his case until he seemed about to become an heir. The Prophet ﷺ made kindness to him a proof of faith, safety from harm a condition of Paradise, and a bowl of stretched broth a vehicle of worship. Start where the Sunnah starts: greet your neighbour, guard him from your harm, and send something from your pot to his door. The best neighbour in Allah’s sight is within everyone’s reach.
