Proposition 2
Tag 058P, permanent. Cite it as [Bourbaki, Tag 058P].
Algebra, chapter I, § 4. Groups and groups with operators
Let X be a non-empty subset of a group with operators G and the stable subset under the action of on G generated by X. The stable subgroup generated by X is the stable subset under the law on G generated by the set .
The latter subset Z is the set of compositions of finite sequences all of whose terms are elements of or inverse of elements of : the inverse of such a composition is a composition of the same form (§ 2, no. 3, Corollary 1 to Proposition 5) and Z is stable under the action of , as is seen by applying § 3, no. 4, Proposition 1 to the homotheties of G, hence (Proposition 1) Z is a stable subgroup of G. Conversely, every stable subgroup containing X obviously contains Y and hence Z.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.