I remember that I read somewhere that the following theorem is true:
Let $A\subseteq H$ be a subset of a real Hilbert space $H$ and let $f : A \to A$ be a distance-preserving bijection, i.e. a bijective map with $\|f(x)-f(y)\|=\|x-y\|$ for all $x,y\in A$. Then it is always possible to find a distance-preserving bijection $\phi: H \to H$ such that $\phi|_A = f$.
But I am not able to find it anywhere online (probably, because I remembered it incorrectly and it is false?). Is this theorem true and if so, can someone tell me a reference where to find it?
(I know that this $\phi$ will then be the composition of a translation and a linear map, but that is not important to me at the moment.)