Sayyiduna Khabbab bin al-Aratt (may Allah be pleased with him) narrated: I heard the Messenger of Allah (peace and blessings be upon him) say: "Whatever the servant spends, he is rewarded for it, except for building."
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3627