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