The wave packet in terms of the wave number $k$ is:
\begin{equation} \Psi(x, t) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^{+\infty} \mathrm{d}k \ A(k) \ e^{-i(kx-\omega t)} \tag{1} \end{equation}
Knowing that $p = \hbar k$ and $E = \hbar \omega$ we can replace $k$ with $p$, and Eq. (1) becomes:
\begin{equation} \Psi(x, t) = \frac{1}{\hbar \sqrt{2\pi}} \int_{-\infty}^{+\infty} \mathrm{d}p \ A\left(\frac{p}{\hbar}\right) \ e^{-i(px- Et)/\hbar} = \frac{1}{\hbar \sqrt{2\pi}} \int_{-\infty}^{+\infty} \mathrm{d}p \ \phi(p) \ e^{-i(px- Et)/\hbar} \tag{2} \end{equation}
However, this appears to be wrong, and the equation is found in the literature as:
\begin{equation} \Psi(x, t) = \frac{1}{\sqrt{2 \pi \hbar}} \int_{-\infty}^{+\infty} \mathrm{d}p \ \phi(p) \ e^{-i(px- Et)/\hbar} \tag{3} \end{equation}
with the $\hbar$ under the square root. How does this happen? Shouldn't $\mathrm{d}p = \hbar \ \mathrm{d}k$?