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." (ES)
English reference (ES): Vol. 3, Book 17, Hadith 2493 (ES)
Arabic reference (ES): Book 17, Hadith 2588 (ES)