The following useful lemma holds in a variety of settings:
Lemma. Let $p : Y_1 \to X$, $p_2 : Y_2 \to X$ be fibrations over a common base, and $f : Y_1 \to Y_2$ a map over $X$ that is a homotopy equivalence on total spaces. Then $f$ is a fibrewise homotopy equivalence.
Proposition 4.61 of Hatcher gives this in the topological setting. Essentially the same proof works in more abstract settings, e.g. Quillen model categories and fibration categories (aka Ken Brown’s categories of fibrant objects). Can anyone point to a good reference for the lemma in such a setting? Fibration categories would be ideal (that’s where I want to use it), but model categories or somewhere else similar would be fine too.