Multiple explosions tore through the central mosque in Nigeria's second-largest city on Friday, killing 35 people, police said.