I have heard that the following is a "well-known"
Claim. Let $M$ and $N$ be smooth manifolds with equal dimensions and $M$ compact. Then a generic smooth map $f\colon M\to N$ has finite fibers, i.e., $f^{-1}(n)$ is a finite set for all $n\in N$.
(Here "generic" is with respect to the $C^\infty$ topology, so the claim is that there is an open-dense or perhaps only residual subset $S\subset C^\infty(M,N)$ such that $f^{-1}(n)$ is a finite set for all $f\in S$ and $n\in N$.)
However, I have been unable to find a reference or proof of the claim, and the topologists who told me that the claim is "well-known" also told me that they do not know a proof or reference.
Question. Is the above claim true? If so, what is a reference or sketch of proof?