It was narrated from Abu Rafi' that the Prophet (ﷺ) said:
"The neighbor has more right to property that is near." (DE)
English reference (DE): Vol. 3, Book 17, Hadith 2495 (DE)
Arabic reference (DE): Book 17, Hadith 2590 (DE)