It wasnarrated that Harithah bin Mudarrib said:
"We came to Khabbabtovisit him (when he was sick), and he said: 'I have been sick for along time, and were it not that I heard the Messenger of Allah (ﷺ)say: "Do not wish for death," I would have wished for it.' Andhesaid: "A person will be rewarded for all his spending, exceptfor(what he spends) on dust," or he said, "on building." (FR)
English reference (FR): Vol. 5, Book 37, Hadith 4163 (FR)
Arabic reference (FR): Book 37, Hadith 4302 (FR)