These are quite complete notes on finite $p$-groups: Fernández-Alcober - An introduction to finite $p$-groups: regular $p$-groups and groups of maximal class. You should be able to find the claim in Section 2.1.
Matteo Vannacci
- 116
- 5