I recently researched and discovered that we are only allowed to pray jamaha with wajib namaz.
During shab e Qadr at our mosque, our maulana prays the 100 rakah namaz as jamaat together. Is this permissible? As are are only allowed to pray wajib namaz as jamaat whereas the maulana at our mosque prays the 100 rakah together with us as jamaat

We can read wajib namaz with jamaat. Reading Mustahab namaz with jamaat is not permissible