We came to visit Khababa during his illness, and he had been cauterized seven times. He said, "My illness has dragged on, and were it not that I heard the Messenger of Allah ﷺ say, 'Do not wish for death,' I would have wished for it."He also said, "A man is rewarded for everything he spends, except for what he spends on dust," or he said, "on building."
حدثنا علي بن حجر أخبرنا شريك عن أبي إسحق
أتينا خبابا نعوده وقد اكتوى سبع كيات فقال لقد تطاول مرضي ولولا أني سمعت رسول الله ﷺ يقول لا تمنوا الموت لتمنيت وقال يؤجر الرجل في نفقته كلها إلا التراب أو قال في البناء
Takhrij, sahih. Ibn Majah also related it, no. 4163, from the hadith of Abu Ishaq with the same wording, and Shubah narrated it from him. The hadith is agreed upon, Bukhari, no. 5672, and Muslim, no. 2681, from the hadith of Khabab with the same wording.