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