This is in Robinson's book A Course in the Theory of Groups. It is on page $11$ ($1.3.5$).
It is perhaps worth saying that I did this in my introductory groups course, which implies that it is probably in every group theory text which covers the basics. (Of course, Robinson's text is pitched at graduate level and above so it covers the basics pretty quickly, but it does cover them...what I am trying to say is that if you have Dummit and Foe, or Fuchs Algebra, or any other "standard" text then it will probably be in there. Robinson is my "go-to" book, and it is in there, so it is probably in everyone else's "go-to" books.)