Proposition 1
Tag 05CR, permanent. Cite it as [Bourbaki, Tag 05CR].
Algebra, chapter I, § 6. Extensions, solvable groups, nilpotent groups
Let and be extensions of by . If is a morphism of into , is an isomorphism of onto and is a morphism of into .
Let be such that . Then , whence . Let be such that ; then . As is injective, and . Therefore is injective. By virtue of § 4, no. 6, Corollary 1 to Proposition 7, is surjective since . The last assertion is immediate.
In other words, the extensions and are isomorphic if and only if there exists a morphism of into .
Let and be two groups and write ; let be the canonical injection and be the canonical projection. Every extension of by isomorphic to the extension is called a trivial extension.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.