The Messenger of Allah ﷺ said, "The neighbor has the greater right to what is adjacent to his property."
حدثنا سفيان عن إبراهيم بن ميسرة عن عمرو بن الشريد
أن رسول الله ﷺ قال الجار أحق بصقبه أو سقبه
No references are available.
Its isnad is sahih, Amr bin Shareed is trustworthy and his hadith is found in the Sahihayn, and the hadith has already appeared under 23761.