It is narrated from Sayyiduna Samurah bin Jundub (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The neighbour of a house has more right (of pre-emption) to the house and the land than others."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6771