When the Messenger of Allah (
ﷺ) entered the
mosque, a man also entered it and prayed. He then came and saluted the Messenger of Allah (
ﷺ). The Messenger of Allah (
ﷺ) returned the salutation and said to him: Go back and pray, for you have not prayed. The man returned and prayed as he prayed before. He then came to prophet (
ﷺ) and saluted him. The Messenger of Allah (
ﷺ) said to him: " And upon you be peace. " Go back and pray, for you have not prayed. He did so three times. Then the man said: By Him who has sent you(as a Prophet) with truth; I cannot do better than this; so teach me. He said: When you get up to pray, utter the takbir(Allah is most great); then recite a convenient portion of the Qur'an; then bow and remain quietly in that position; then sit and remain quietly in that position; then raise yourself and stand erect: then prostrate yourself and remain quietly in that position; then sit and remain quietly in that position; then do that throughout all your
prayer.
Abu Dawud said: Al-Qa'nabi reported this tradition from Sa'id b. Abi Sa'Id on the authority of Abu Hurairah. This version has the wording in the last: When you do this, then your prayer is completed. If you omit anything from this, you omit that much from your prayer. This version also has the wording: when you get up for praying, perform the Abu lation perfectly.