@robjohn I have thought the following:
$\langle \hat{x}, \phi \rangle= \langle x, \hat{\phi} \rangle=\int_{-\infty}^{+\infty} x \hat{\phi}(x) dx= \int_{-\infty}^{+\infty} x \int_{-\infty}^{+\infty} \phi(x) e^{-ix \xi} dx d \xi=\int_{-\infty}^{+\infty} x \phi(x) \lim_{M \to +\infty}\left[ \frac{e^{-i x \xi}}{-ix}\right]_{\xi=-M}^M dx$
But $\lim_{\xi \to -\infty} \frac{e^{-ix \xi}}{-ix} \to -\infty$.
Have I done something wrong?