Jami` at-Tirmidhi, Book 15, Hadith 49 (Tirmidhi 1382)

Narrated Samurah:

that the Messenger of Allah (ﷺ) said: "The neighbor of a home has more right to the home."