Sunan Ibn Majah, Book 16, Hadith 55 (Ibn Majah 2490)

It was narrated that Sa'eed bin Huraith said:

“I heard the Messenger of Allah (ﷺ) said: 'Whoever sells a house or property and does not use the money for something similar, deserves not to be blessed therein.' ”