Who sells a house and does not invest the money in which something of similar value will not be blessed in it (= his money).
Whoever sells a house and does not invest the money in something of similar value will not be blessed in it [his money].