(Imām Bukhārī narrates): Musaddad narrated to us, he said: Yahyā ibn Sa'īd informed me, from 'Ubaidullāh, he said: Sa'īd al-Maqburī narrated to us, from his father, from Abū Hurairah, may Allāh be pleased with him, he narrates that:
the Prophet ﷺ entered the mosque, then a man entered the mosque, so he prayed, then he came and gave salām to the Prophet ﷺ. The Prophet ﷺ returned his salām, then said: Go back! Pray, because you have not prayed. So he prayed, then came and gave salām, so he said: Go back! Pray, because you have not prayed. This conversation happened three times. Then that man said: By the One who sent you with the truth! I cannot pray better than this, so teach me to pray. He said: When you stand for prayer, say "Allāhu Akbar," then recite from the Qur'ān whatever you can with ease, then perform rukū' until you perform rukū' with tranquillity, then raise your head from rukū' and stand until you stand straight with moderation, then perform sajdah until you perform sajdah with moderation, then raise your head from sajdah and sit with tranquillity, then perform (a second) sajdah until you perform sajdah with tranquillity, then pray your whole prayer in this manner.
حَدَّثَنَا مُسَدَّدٌ، قَالَ أَخْبَرَنِي يَحْيَى بْنُ سَعِيدٍ، عَنْ عُبَيْدِ اللَّهِ، قَالَ حَدَّثَنَا سَعِيدٌ الْمَقْبُرِيُّ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم دَخَلَ الْمَسْجِدَ فَدَخَلَ رَجُلٌ فَصَلَّى ثُمَّ جَاءَ فَسَلَّمَ عَلَى النَّبِيِّ صلى الله عليه وسلم فَرَدَّ النَّبِيُّ صلى الله عليه وسلم عَلَيْهِ السَّلاَمَ فَقَالَ " ارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ " فَصَلَّى، ثُمَّ جَاءَ فَسَلَّمَ عَلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ " ارْجِعْ فَصَلِّ فَإِنَّكَ لَمْ تُصَلِّ ". ثَلاَثًا. فَقَالَ وَالَّذِي بَعَثَكَ بِالْحَقِّ فَمَا أُحْسِنُ غَيْرَهُ فَعَلِّمْنِي. قَالَ " إِذَا قُمْتَ إِلَى الصَّلاَةِ فَكَبِّرْ، ثُمَّ اقْرَأْ مَا تَيَسَّرَ مَعَكَ مِنَ الْقُرْآنِ، ثُمَّ ارْكَعْ حَتَّى تَطْمَئِنَّ رَاكِعًا، ثُمَّ ارْفَعْ حَتَّى تَعْتَدِلَ قَائِمًا، ثُمَّ اسْجُدْ حَتَّى تَطْمَئِنَّ سَاجِدًا، ثُمَّ ارْفَعْ حَتَّى تَطْمَئِنَّ جَالِسًا، ثُمَّ اسْجُدْ حَتَّى تَطْمَئِنَّ سَاجِدًا، ثُمَّ افْعَلْ ذَلِكَ فِي صَلاَتِكَ كُلِّهَا ".
Reference: Sahih Al Bukhari 793