The Prophet (ﷺ) said: A neighbour has the best claim to the house or land of the neighbour.
Sunan Abi Dawud Book 24, Hadith 102