عَن سعيد بن حُرَيْث قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «مَنْ بَاعَ مِنْكُمْ دَارًا أَوْ عَقَارًا قَمِنٌ أَنْ لَا يُبَارَكُ لَهُ إِلَّا أَنْ يَجْعَلَهُ فِي مِثْلِهِ» . رَوَاهُ ابْنُ مَاجَهْ والدارمي
Translation

Ibn ‘Abbas reported the Prophet as saying, "The partner has first right to buy neighbouring property and the option to buy applies to everything.” Tirmidhi transmitted it, saying it has been transmitted on the authority of Ibn Abu Mulaika who quoted the Prophet in mursal form, and it is sounder.