Ali bin Abu Talib reported,

When the Prophet ﷺ prostrated, he would say, "O Allah, to You I have prostrated, in You I have believed, and to You I have submitted. You are my Lord. My face has prostrated to the One who shaped its hearing and sight. Blessed is Allah, the best of creators."

Ibn Majah 1054

Sahih

حدثنا علي بن عمرو الأنصاري حدثنا يحيى بن سعيد الأموي عن ابن جريج عن موسى بن عقبة عن عبد الله بن الفضل عن الأعرج عن عبيد الله بن أبي رافع

عن علي

أن النبي ﷺ كان إذا سجد قال اللهم لك سجدت وبك آمنت ولك أسلمت أنت ربي سجد وجهي للذي شق سمعه وبصره تبارك الله أحسن الخالقين

ابن ماجه 1054صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Prostrations of the Quran
Numbering
Darussalam 1054
Ibn Majah 1054