Lemma 99.24.4. Let $f : \mathcal{X} \to \mathcal{Y}$ and $g : \mathcal{Y} \to \mathcal{Z}$ be morphisms of algebraic stacks. If $g \circ f$ is quasi-finite and $g$ is quasi-separated and quasi-DM then $f$ is quasi-finite.

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).