It is narrated from Mujahid (may Allah have mercy on him) who states: A servant is closest to Allah while in the state of prostration. Have you not reflected on Allah’s saying: “Prostrate and draw near,” that is, prostrate and attain closeness to Allah.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 245