A: It is permissible
to offer Salah (Prayer) in a Masjid adjacent to a storehouse for goods and fodder. You should take care of the Masjid and clean it, as Masjids are Allah's Houses, so it is prescribed to clean them.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.