An explosion was heard at an election rally on Tuesday in Lashkar Gah, the provincial capital of Helmand, Afghan officials said.