بسم الله الرحمن الرحيم
(Fatwa: 225/211/B=3/1438)
According to Hanafi Fiqh, second jamah in such mosque is makrooh. The second jamah may be performed away from the boundary of the mosque. It is better to pronounce iqamah in the second jamah as well.
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband
