Another 35 people were injured in the explosion during evening prayers in the city of Maiduguri, police say.