It was narrated from Hudhaifah bin Yaman that the Messenger of Allah (ﷺ) said:
"Whoever sells a house and does not use the money for something similar, will not to be blessed therein.' " (DE)
English reference (DE): Vol. 3, Book 16, Hadith 2491 (DE)
Arabic reference (DE): Book 16, Hadith 2586 (DE)