The Messenger of Allah ﷺ ruled in favor of the right of pre-emption for the neighbor.
أخبرنا محمد بن عبد العزيز بن أبي رزمة قال حدثنا الفضل بن موسى عن حسين وهو ابن واقد عن أبي الزبير
قضى رسول الله ﷺ بالشفعة والجوار
No references are available.
[Sahih]. It is also in Kubra, no. 6304, and Muslim narrated it, no. 135/1608, from the hadith of Abu Zubayr, at greater length, without mention of the neighboring quarters. This hadith has corroborating narrations.