Could someone please verify my following proof?
For isomorphism $\phi:G\to H$, show that $ab=ba$ for $a,b\in G$ iff $\phi(a)\phi(b)=\phi(b)\phi(a)$.
Proof:
Let $ab=ba$ for all $a,b\in G$. Then $G$ is abelian. Then $H$ is abelian. Since $\phi$ is bijective, $H=\phi(G)=\left \{ \phi(g) : g\in G \right \}$. Therefore, $\phi(a)\phi(b)=\phi(b)\phi(a)$ for all $\phi(a),\phi(b)\in H$.
Let $\phi(a)\phi(b)=\phi(b)\phi(a)$ for all $\phi(a),\phi(b)\in H$. Since $\phi$ is bijective, $H=\phi(G)=\left \{ \phi(g) : g\in G \right \}$. Then $H$ is abelian. Then $G$ is abelian. Then $ab=ba$ for all $a,b\in G$.