‘Abdallah b. Mas'ud said, “None of you must give the devil any place in his prayer, thinking it is his duty when he leaves to turn only to his right. I have often seen God’s Messenger turning to his left when he went away.”
When we prayed behind God’s Messenger we liked to be on his right side so that he would turn his face towards us. He said that he had heard him say, ‘My Lord, guard me from Thy punishment on the day Thou raisest (or, gatherest) Thy servants.”