It was narrated from Abu Hurairah that:
The Messenger of Allah (ﷺ) entered the Masjid, then a man entered and prayed, then he came and greeted the Messenger of Allah (ﷺ) with Salam. The Messenger of Allah (ﷺ) returned his greeting and said: Go back and pray, for you have not prayed. So he went back and prayed as he has prayed before, then he came to the Prophet (ﷺ) and greeted him with Salam, and the Messenger of Allah (ﷺ) said to him: Wa alaika as-salam (and upon you be peace). Go back and pray for you have not prayed. He did that three times, then the man said: By the One Who sent you with the truth, I cannot do any better than that; teach me. He said: When you stand to pray, say the Takbir, then recite whatever is easy for you of Quran. Then bow until you have tranquility in your bowing, then stand up until you are standing straight. Then prostrate until you have tranquility in your prostration, then sit up until you have tranquility in your sitting. Then do that throughout your entire prayer.