Officials said that a man entered the mosque from its back side and allegedly kept some gelatin sticks there, which triggered a blast.