حَدَّثَنَا مُحَمَّدُ بْنُ إِسْحَاقَ الْمُسَيِّبِيُّ ، قَالَ : حَدَّثَنِي أَنَسُ بْنُ عِيَاضٍ ، عَنْ يُونُسَ ، عَنِ الزُّهْرِيِّ ، أَنَّهُ قَالَ : أَخْبَرَنِي أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ ، عَنْ أَبِي هُرَيْرَةَ ، أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ : إِنَّ الشَّيْطَانَ يَأْتِي عَلَى أَحَدِكُمْ ، حَتَّى لَا يَدْرِي كَمْ صَلَّى ، فَإِذَا فَعَلَ ذَلِكَ ، فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ .
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed Satan comes to one of you (to whisper during prayer), until he does not know how much (how many rak'ahs) he has prayed. So when he (Satan) does that, let him perform two prostrations (of forgetfulness) while seated (in tashahhud)."