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