Maintaining Masjids with the money of Sadaqah Jariyah

A: Donating money to build a Masjid or contributing in building it is a form of Sadaqah Jariyah for those who do it or intend to do, if the intention is pure and the money is lawfully gained.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.