Abu Hurairah reported,

A man entered the mosque while the Messenger of Allah ﷺ was sitting in one corner of it. The man prayed, then came and greeted him.The Messenger of Allah ﷺ said, "And peace be upon you. Go back and pray, for you have not prayed."So he went back and prayed, then came and greeted him again.He said, "And peace be upon you. Go back and pray, for you have not prayed."On the second or third time, the man said, "Teach me, Messenger of Allah."He said, "When you stand for prayer, perform the ablution thoroughly, then face the qiblah and say the takbir. Then recite whatever is easy for you from the Quran. Then bow until you are at rest in bowing. Then rise until you are standing upright. Then prostrate until you are at rest in prostration. Then rise until you are at rest sitting. Then prostrate until you are at rest in prostration. Then rise until you are at rest sitting. Then do this throughout your entire prayer."Abu Usama said in the final part, "until you are standing upright."

Bukhari 6251

Sahih

حدثنا إسحاق بن منصور أخبرنا عبد الله بن نمير حدثنا عبيد الله عن سعيد بن أبي سعيد المقبري

عن أبي هريرة رضي الله عنه

أن رجلا دخل المسجد ورسول الله ﷺ جالس في ناحية المسجد فصلى ثم جاء فسلم عليه فقال له رسول الله ﷺ وعليك السلام ارجع فصل فإنك لم تصل فرجع فصلى ثم جاء فسلم فقال وعليك السلام فارجع فصل فإنك لم تصل فقال في الثانية أو في التي بعدها علمني يا رسول الله فقال إذا قمت إلى الصلاة فأسبغ الوضوء ثم استقبل القبلة فكبر ثم اقرأ بما تيسر معك من القرآن ثم اركع حتى تطمئن راكعا ثم ارفع حتى تستوي قائما ثم اسجد حتى تطمئن ساجدا ثم ارفع حتى تطمئن جالسا ثم اسجد حتى تطمئن ساجدا ثم ارفع حتى تطمئن جالسا ثم افعل ذلك في صلاتك كلها وقال أبو أسامة في الأخير حتى تستوي قائما

البخاري 6251صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Permission to enter
Chapter
He who responds by saying, "Upon you be peace"
Numbering
Darussalam 6251
Bukhari 6251