Sunan Ibn Majah, Book 5, Hadith 1113 (In-Book)

It was narrated from Abu Hurairah that a man entered the mosque and performed prayer, and the Prophet was in a corner of the mosque. The man came and greeted him, and he said: “And also upon you. Go back and repeat your prayer, for you have not prayed.” So he went back and repeated his prayer, then he came and greeted the Prophet. He said: “And also upon you. Go back and repeat your prayer, for you have not prayed.” On the third occasion, the man said: “Teach me, O Messenger of Allah!” He said: “When you stand up to offer the prayer, perform ablution properly, then stand to face the prayer direction and say Allahu Akbar. Then recite whatever you can of Qur’an, and then bow until you can feel at ease bowing. Then stand up until you feel at ease standing, then prostrate until you feel at ease prostrating. Then raise your head until you are sitting up straight. Do that throughout your prayer.”

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ، عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ، عَنْ سَعِيدِ بْنِ أَبِي سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَجُلاً، دَخَلَ الْمَسْجِدَ فَصَلَّى وَرَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ فِي نَاحِيَةٍ مِنَ الْمَسْجِدِ فَجَاءَ فَسَلَّمَ فَقَالَ ‏"‏ وَعَلَيْكَ فَارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ ‏"‏ ‏.‏ فَرَجَعَ فَصَلَّى ثُمَّ جَاءَ فَسَلَّمَ عَلَى النَّبِيِّ ـ صلى الله عليه وسلم ـ فَقَالَ ‏"‏ وَعَلَيْكَ فَارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ بَعْدُ ‏"‏ ‏.‏ قَالَ فِي الثَّالِثَةَ فَعَلِّمْنِي يَا رَسُولَ اللَّهِ ‏.‏ قَالَ ‏"‏ إِذَا قُمْتَ إِلَى الصَّلاَةِ فَأَسْبِغِ الْوُضُوءَ ثُمَّ اسْتَقْبِلِ الْقِبْلَةَ وَكَبِّرْ ثُمَّ اقْرَأْ مَا تَيَسَّرَ مَعَكَ مِنَ الْقُرْآنِ ثُمَّ ارْكَعْ حَتَّى تَطْمَئِنَّ رَاكِعًا ثُمَّ ارْفَعْ حَتَّى تَطْمَئِنَّ قَائِمًا ثُمَّ اسْجُدْ حَتَّى تَطْمَئِنَّ سَاجِدًا ثُمَّ ارْفَعْ رَأْسَكَ حَتَّى تَسْتَوِيَ قَاعِدًا ثُمَّ افْعَلْ ذَلِكَ فِي صَلاَتِكَ كُلِّهَا ‏"‏ ‏.‏

sunnah.com