It was narrated from Abu Hurairah that the Prophet SAW said: "The Satan comes to anyone of you while he is praying and comes between him and his soul, until he does not know whether he has added something or omitted something. If that happens, then he should prostrate twice before he says the Salam, then he should say the Salam."(Hasan).