Doing good to the neighbor
Neighbour's rights are many and are ordained by Allah.
Our holy Prophet, may he be eternally blessed, has said:
مازال جبرئیل یوصینی بالجار حتی ظننت انه سیورثه
"Gabriel advised me so much regarding neighbour's rights that I began to suspect that he would be included among the heirs"
(Bukhari and Muslim and Ibn Omar and Ayesha).
Abu Sharih relates that the eternally blessed Holy Prophet(peace be upen him) said:
من کان یؤمن با الله و الیوم الاخرفلیحسن الی جاره
"He who believes in Allah and in the Day of Judgement should be good to his neighbour"
(Sahih Muslim)
Abu Huraira has quoted the Messenger of Allah as follows:
من کان یؤمن با الله والیوم الآخر فلا یؤذجاره
"He who believes in Allah and the Day of Judgement should not cause pain to his neighbour"
(Bukhari and Muslim)
The first and foremost and the principal right of the neighbor is not to cause him pain, trouble or sorrow; moreover, helping him in his need, sending him occasional gifts, sharing his joys and sorrows are all meritorious and rewarding acts.
In fact if one's neighbor is poor or in financial straits he should be helped monetarily too.
Neighbour is not necessarily one's equal in social or material sense;
poor neighbours are also neighbours and they have all the more rights as they are in greater need of help and assistance, If a neighbour is hungry, it is not merely meritorious to feed him but also a bounden duty.
Even a unbeliever neighbour should be treated well.
It has been related that Abdullah ibn Omar had a Jew as a neighbour;
once when a goat was slaughtered, ibn Omar kept on insisting upon his household to present some meat to the Jew also.
(Abu Dawood and Tirmidhi).
Source: Easy good deeds