"My father narrated to me that a paternal uncle of his, who had been at Badr, said: 'I was sitting with the Messenger of Allah ﷺ in the masjid when a man came in and prayed two rak'ahs, then he came and greeted the Prophet ﷺ with salam. The Prophet ﷺ had been watching him as he prayed, so he returned his salam, then he said: "Go back and pray, for you have not prayed." So he went back and prayed, then he came back and greeted the Prophet ﷺ with salam. He returned the salam, then he said: "Go back and pray, for you have not prayed." The third or fourth time this happened, then the man said: "By the One Who revealed the Book to you, I have done my best and have tried hard; show me and teach me." He said: 'When you want to pray, perform wudu and do it well, then turn to face the Qiblah and say the takbir. Then recite the Quran, then bow until you are at ease in bowing. Then stand up until you are standing straight, then prostrate until you are at ease prostrating, then sit up until you are at ease sitting, then prostrate until you are at ease prostrating, then get up. If you complete the prayer in this manner you wil hve done it properly, and whatever you do less than this is lacking from you prayer.'" (Using translation from Nasāʾī 1314)
كُنْتُ مَعَ رَسُولِ اللهِ ﷺ جَالِسًا فِي الْمَسْجِدِ فَدَخَلَ رَجُلٌ فَصَلَّى رَكْعَتَيْنِ ثُمَّ جَاءَ فَسَلَّمَ عَلَى النَّبِيِّ ﷺ وَقَدْ كَانَ النَّبِيُّ ﷺ يَرْمُقُهُ فِي صَلَاتِهِ فَرَدَّ عَلَيْهِ السَّلَامَ ثُمَّ قَالَ لَهُ «ارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ» فَرَجَعَ فَصَلَّى ثُمَّ جَاءَ فَسَلَّمَ عَلَى النَّبِيِّ ﷺ فَرَدَّ عَلَيْهِ السَّلَامُ ثُمَّ قَالَ لَهُ «ارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ» حَتَّى كَانَ عِنْدَ الثَّالِثَةِ أَوِ الرَّابِعَةِ فَقَالَ وَالَّذِي أَنْزَلَ عَلَيْكَ الْكِتَابَ لَقَدْ جَهَدْتُ وَحَرَصْتُ فَأَرِنِي وَعَلِّمْنِي قَالَ «إِذَا أَرَدْتَ أَنْ تُصَلِّيَ فَتَوَضَّأْ فَأَحْسِنْ وُضُوءَكَ ثُمَّ اسْتَقْبِلِ الْقِبْلَةَ فَكَبِّرْ ثُمَّ اقْرَأْ ثُمَّ ارْكَعْ حَتَّى تَطْمَئِنَّ رَاكِعًا ثُمَّ ارْفَعْ حَتَّى تَعْتَدِلَ قَائِمًا ثُمَّ اسْجُدْ حَتَّى تَطْمَئِنَّ سَاجِدًا ثُمَّ ارْفَعْ حَتَّى تَطْمَئِنَّ قَاعِدًا ثُمَّ اسْجُدْ حَتَّى تَطْمَئِنَّ سَاجِدًا ثُمَّ ارْفَعْ فَإِذَا أَتْمَمْتَ صَلَاتَكَ عَلَى هَذَا فَقَدْ تَمَّتْ وَمَا انْتَقَصْتَ مِنْ هَذَا فَإِنَّمَا تَنْتَقِصُهُ مِنْ صَلَاتِكَ»