Let $G$ be a group and $H$ be a subgroup of $G$. Let also $a,~b\in G$ such that $ab\in H$.
True or false? $a^2b^2\in H.$
Attempt. I believe the answer is no (i have proved that the statement is true for normal subgroups, but it seems that there is no need to hold for arbitrary subgroups). I was looking for a counterexample in a non abelian group of small order, such as $S_3$, or $S_4$, but i couldn't find a suitable combination of $H\leq S_n$, $\sigma$ and $\tau\in S_n$ such that $\sigma \tau \in H$ and $\sigma^2 \tau^2 \notin H.$
Thanks in advance for the help.
Consider $S_3$.
Let $a=(1 2 3)$ and $b=(2 3)$. Then $ab=(1 2)$ and $a^2b^2=(1 3 2)$
Let $H=\{1, ab\}$. Then $ab\in H$ but $a^2b^2\not\in H$