If $H \leq Z(G) \leq G$, where G is a finite group, $Z(G)$ is its center, and $(G:H) = p$ for some prime $p$, then G is abelian.
Well because H < Z(G) we have that H commutes with all of G. Also |G/H|=p. I was thinking of connecting this result to the fact that if $G/Z(G)$ is cyclic, then $G$ is abelian, but was unable to. Then I thought about using the result that $(G/H)/(Z(G)/H) = G/Z(G),$ but that leads to nowhere. Any suggestions?