Let $X,B,B'$ be topological spaces. Let $\pi\colon X\to B$ be a continuous, proper map (proper in the sense of Bourbaki-proper: closed and with quasi-compact fibres).
Let $f\colon B'\to B$ be continuous. Form the fibre product $X\times_{B} B'$. I have to prove that the projection map $\pi'\colon X\times_{B}B'\to B'$ is proper.
The fibre $\pi^{-1}(b')=\{(x,b')\in X\times B':\pi(x)=f(b') \}$ is quasi-compact, since it is homeomorphic to the quasi-compact fiber $\pi^{-1}(f(b'))=\{x\in X\mid \pi(x)=f(b') \}$ via the map $(x,b')\mapsto x$.
However, I do not know how to prove that $\pi'$ is closed. Clearly, we need to use the fact that the fibers of $\pi$ and/or those of $\pi'$ are quasi-compact, since the property of being closed is in general not preserved under base change. I am failing to do so, any help is appreciated.