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." (ID)
English reference (ID): Vol. 4, Book 11, Hadith 2482 (ID)
Arabic reference (ID): Book 37, Hadith 2670 (ID)