It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, said: "Indeed, when any one of you stands for prayer, Satan comes to him and makes him forget his prayer, to the extent that he does not remember how many rak‘ahs he has prayed. So if any of you experiences this, he should perform two prostrations while sitting."