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