The Messenger of Allah (ﷺ) as saying: A neighbor has the best claim to the house or land of the neighbor.
Sunan Abi Dawud Book 24, Hadith 101