بسم الله الرحمن الرحيم
(Fatwa: 367/360/B=3/1439)
You should offer salah in your nearby mosque i.e. in the mosque of your Mohalla. It is not good to leave Mohalla mosque and miss jamat without a reason. If according to your opinion it is not a Shariah mosque yet you will be getting the reward of offering salah and jamat. Thus you should offer salah in the mosque of your locality regularly.
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband
