Let $A$ and $B$ be commutative rings with identity. Let $$\varphi:A\rightarrow B$$ be a unit preserving homomorphism.
Prove or give a counterexample that if $\varphi$ is injective then $$\varphi:A_{\varphi^{-1}(\mathfrak{p})}\rightarrow B_{\mathfrak{p}},$$ the induced map in localization, is injective for all prime $\mathfrak{p}\subseteq B$.