A:
Offering Salah in the Masjid is obligatory for men unless there is a Shar`y (Islamic legal) excuse. Accordingly, you may abandon offering Salah in congregation and offer Salah at home if going to the Masjid endangers your life.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.