A:
It is Wajib on you to pay the Zakah due on your savings for the past years if they reached the Nisab and a Hawl has passed on them. As for the money you have dedicated for building the Masjid, there is no Zakah due on it beginning from the time you so intended it.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.