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