If $\pi\colon X\to Y$ is a quotient map, and $f\colon Y\to Z$ is a continuous map between topological spaces, then the characteristic property of the quotient map says $f$ is continuous iff $f\circ \pi$ is continuous.
Does this also work for smooth maps if the spaces in question are all smooth manifolds? Would $f\circ \pi$ smooth imply $f$ is smooth too? The characteristic property for continuous maps is well-documented, but I couldn't find anything for smooth maps.