Harithah bin Mudarrib (may Allah have mercy on him) said: We went to Sayyiduna Khabbab (may Allah be pleased with him), and a wall was being built in his house. He said: I heard the Messenger of Allah (peace and blessings be upon him) say: "The believer is rewarded for his spending, except for what he puts into the earth."
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3660