Mishkat al-Masabih 790
عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ: أَنَّ رَجُلًا دَخَلَ الْمَسْجِدَ وَرَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ جَالِسٌ فِي نَاحِيَةِ الْمَسْجِدِ فَصَلَّى ثُمَّ جَاءَ فَسَلَّمَ عَلَيْهِ فَقَالَ لَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «وَعَلَيْك السَّلَام ارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ» . فَرَجَعَ فَصَلَّى ثُمَّ جَاءَ فَسَلَّمَ فَقَالَ: «وَعَلَيْكَ السَّلَامُ ارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ» فَقَالَ فِي الثَّالِثَةِ أَوْ فِي الَّتِي بَعْدَهَا عَلِّمْنِي يَا رَسُولَ اللَّهِ فَقَالَ: «إِذَا قُمْتَ إِلَى الصَّلَاةِ فَأَسْبِغِ الْوُضُوءَ ثُمَّ اسْتَقْبِلِ الْقِبْلَةَ فَكَبِّرْ ثُمَّ اقْرَأْ بِمَا تَيَسَّرَ مَعَكَ مِنَ الْقُرْآنِ ثُمَّ ارْكَعْ حَتَّى تَطْمَئِنَّ رَاكِعًا ثُمَّ ارْفَعْ حَتَّى تَسْتَوِّيَ قَائِمًا ثُمَّ اسْجُدْ حَتَّى تَطْمَئِنَّ سَاجِدًا ثُمَّ ارْفَعْ حَتَّى تَطْمَئِنَّ جَالِسًا ثُمَّ اسْجُدْ حَتَّى تَطْمَئِنَّ سَاجِدًا ثُمَّ ارْفَعْ حَتَّى تَطْمَئِنَّ جَالِسًا» . وَفِي رِوَايَةٍ: «ثُمَّ ارْفَعْ حَتَّى تَسْتَوِيَ قَائِمًا ثمَّ افْعَل ذَلِك فِي صَلَاتك كلهَا»
From Abu Hurayrah, may Allah be pleased with him: A man entered the mosque while the Messenger of Allah ﷺ was sitting at the side of the mosque. He prayed, then came and greeted him with salam. The Messenger of Allah ﷺ said to him: "And upon you be peace. Go back and pray, for you have not prayed." He went back and prayed, then came and greeted him, and he said: "And upon you be peace. Go back and pray, for you have not prayed." On the third time, or the one after it, he said: "Teach me, O Messenger of Allah." He said: "When you stand for the prayer, perform wudu thoroughly, then face the qiblah and say takbir. Then recite what is easy for you of the Quran. Then bow until you are at rest in bowing. Then rise until you stand straight. 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." And in a narration: "Then rise until you stand straight. Then do that in all of your prayer."