Shahib bin Bashir narrated from Anas bin Malik that the Messenger of Allah (s.a.w) said:
"All expenditures are in Allah's Cause, except for buildings, for there is no good in it." (PT)
English reference (PT): Vol. 4, Book 11, Hadith 2482 (PT)
Arabic reference (PT): Book 37, Hadith 2670 (PT)