A question regarding a similar this has already been asked and answered: If $G$ is a nilpotent group and $H\leq G$ with $H[G,G]=G$ then $H=G$.
However, what I am asking for a reference of a slight generalization.
Let $G$ is nilpotent, and $H,N$ subgroups of $G$, with $N$ normal. If $N[H,G]=H$, then $N=H$.
The proof for this is very similar to the less general case: if $H[G,G]=G$, then $H=G$.
Does anyone know where I can find a reference for this, let's call it, Lemma?
Thanks in advance.