Police say the bomber detonated explosives inside an empty mud-brick mosque Wednesday .