Proposition 30
Tag 0AAM, permanent. Cite it as [Bourbaki, Tag 0AAM].
Lie Groups and Lie Algebras, chapter III, § 3. Passage from a Lie group to its Lie algebra
Let G be a finite-dimensional Lie group with a countable base and
H and H' Lie subgroups of G. Suppose that K is of characteristic 0 and that HH' is locally closed in G.
(i) HH' is a submanifold of G and .
(ii) Suppose that every element of H commutes with every element of H'. Then HH' is a Lie subgroup of G. Let be the mapping of onto HH'. The kernel of is the set of where and the morphism of onto HH' derived from by passing to the quotient is a Lie group isomorphism.
Let operate on G on the right by the mapping . The orbital mapping of e is . By Proposition 14 (iii) of § 1, no. 7, HH' is a submanifold of G and . Now
and hence . Suppose that every element of H commutes with every element of H'. Then HH' is a subgroup of G. By (i), it is a Lie subgroup of G. The rest of the statement follows from Proposition 28.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.