I am looking for examples of non-abelian groups of arbitrarily large size with the following properties
- Have order $p^a$, where $a$ is a positive integer and $p$ is prime.
- Contain an abelian subgroup of order $p^{a-2}$.
I know one example which is the quaternion group. I am looking for more examples of groups of arbitrarily large size.
Take, for example, the direct product of a nonabelian group of order $p^3$ with an abelian group of order $p^{a-3}$.