(The case when f is an isomorphism is known as the strong rigidity.)
Margulis solved the Banach-Ruziewicz problem that asks whether the Lebesgue measure is the only normalized rotationally invariant finitely additive measure on the n-dimensional sphere.