Sayyidah Umm al-Walid bint Umar bin al-Khattab (may Allah be pleased with her) said: One evening the Messenger of Allah (peace and blessings be upon him) came out and said: "O people! Do you not feel shame?" The people said: O Messenger of Allah! Of what? He (peace and blessings be upon him) said: "You gather what you will not eat, you build what you will not live in, and you cherish hopes that you will not attain. Do you not feel ashamed of that?"
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21883