Let B be a topological space, let B be a basis of the topology of B, let F=(F(U),fUV) be a presheaf on B relative to B, let F be the associated sheaf and let σF:F→F∣B be the canonical morphism. Given a sheaf G=(G(U),gUV) on B and a morphism of presheaves φ:F→G∣B, there exists a unique morphism of sheaves ψ:F→G such that ψ∣B∘σF=φ.
Bourbaki sets the proof directly after the statement, and the corpus does not separate them, so what is above is the statement and its proof together.