Amr bin Shareed reported,

I was standing with Saad bin Abu Waqqas when Miswar bin Makhrama came and placed his hand on one of my shoulders. Just then, Abu Rafi, the freed slave of the Prophet ﷺ, arrived and said, "Saad, buy from me my two houses that are within your property."Saad replied, "By Allah, I will not buy them."Miswar said, "By Allah, you shall buy them."Saad said, "By Allah, I will not pay you more than four thousand, in installments or spread out."Abu Rafi said, "I have been offered five hundred dinars for them, and had I not heard the Prophet ﷺ say, 'A neighbor has the greatest right to what is adjacent to him,' I would not have given them to you for four thousand when I am being offered five hundred dinars."So he sold them to him.

Azami 5507

Sahih

عن عمرو بن الشريد قال

وقفت على سعد بن أبي وقاص، فجاء المسور بن مخرمة، فوضع يده على إحدى منكبي إذ جاء أبو رافع مولى النبي ﷺ، فقال: يا سعد، ابتع مني بيتي في دارك، فقال سعد: والله ما أبتاعهما. فقال المسور: والله، لتبتاعنهما. فقال سعد: والله لا أزيدك على أربعة آلاف منجمة أو مقطعة. قال أبو رافع: لقد أعطيت بها خمس مائة دينار، ولولا أني سمعت النبي ﷺ يقول: الجار أحق بسقبه ما أعطيتكها بأربعة آلاف، وأنا أعطى بها خمس مائة دينار، فأعطاها إياه.

الأعظمي 5507صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Pre-emption
Section
Those who said preemption is established by neighborliness
Numbering
Jami al-Kamil 5507 (2nd edition)
Azami 5507