Sunan Ibn Majah, Book 17, Hadith 2588 (In-Book) ⓘ
It was narrated from Ibn Abbas that the Prophet said: “Whoever has land and wants to sell it, let him offer it to his neighbor.”
حَدَّثَنَا أَحْمَدُ بْنُ سِنَانٍ، وَالْعَلاَءُ بْنُ سَالِمٍ، قَالاَ حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَنْبَأَنَا شَرِيكٌ، عَنْ سِمَاكٍ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " مَنْ كَانَتْ لَهُ أَرْضٌ فَأَرَادَ بَيْعَهَا فَلْيَعْرِضْهَا عَلَى جَارِهِ " .
also referenced under: Hadith 2493 (Reference) & Volume 3, Book 17, Hadith 2493 (DarusSalam)