Thirty-nine people were killed in a suicide bombing of a Shi’ite mosque in eastern Afghanistan, and the death toll may climb further, police and government officials said on Friday.