Give an example of a non-abelian group, in which $(ab)^3=a^3b^3$ for every element $a,b$ in $G$.
I understand that such a group should be of order divisible by 3 (see Problem from Herstein on group theory). Also, it is easily seen that $(ab)^3=a^3b^3 \iff (ba)^2=a^2b^2$. But I can't come up with one single example.