I'm looking for the simplest possible example of square matrices $A$ and $B$ such that
- $A$ is similar to $B$,
- $AB$ is not similar to $BA$.
Such an example should exist, but I would like to find the "smallest" one. If either $A$ or $B$ is invertible, then $AB$ will be similar to $BA$, so one needs to look at singular matrices.