Sunan Abi Dawud, Book 24, Hadith 101 (Abu Dawud 3517)

Narrated Abu Rafi':

The Messenger of Allah (ﷺ) as saying: A neighbor has the best claim to the house or land of the neighbor.