Sahih al-Bukhari, Volume 9, Book 86, Hadith 110 (USC-MSA)

Narrated `Amr bin Ash-Sharid: Abu Rafi` sold a house to Sa`d bin Malik for four-hundred Mithqal of gold, and said, "If I had not heard the Prophet saying, 'The neighbor has more right to be taken care of by his neighbor (than anyone else),' then I would not have sold it to you."

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنْ سُفْيَانَ، قَالَ حَدَّثَنِي إِبْرَاهِيمُ بْنُ مَيْسَرَةَ، عَنْ عَمْرِو بْنِ الشَّرِيدِ، أَنَّ أَبَا رَافِعٍ، سَاوَمَ سَعْدَ بْنَ مَالِكٍ بَيْتًا بِأَرْبَعِمِائَةِ مِثْقَالٍ وَقَالَ لَوْلاَ أَنِّي سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ ‏ "‏ الْجَارُ أَحَقُّ بِصَقَبِهِ ‏" ‏‏.‏ مَا أَعْطَيْتُكَ‏.‏

sunnah.com