[Machine] The Messenger of Allah ﷺ said: If one of you prays and forgets how many units he has prayed or doubts whether he added or subtracted, then he should prostrate twice while sitting. And if Satan comes to one of you and says that you have committed something wrong, then he should say, "You are lying except for what I heard with my own ears or smelled with my own nose."
قَالَ رَسُولُ اللهِ ﷺ إِذَا صَلَّى أَحَدُكُمْ فَنَسِيَ كَمْ صَلَّى أَوْ قَالَ فَلَمْ يَدْرِ زَادَ أَمْ نَقَصَ فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ وَإِذَا جَاءَ أَحَدَكُمُ الشَّيْطَانُ فَقَالَ إِنَّكَ قَدْ أَحْدَثْتَ فَلْيَقُلْ كَذَبْتَ إِلَّا مَا سَمِعَهُ بِأُذُنِهِ أَوْ وَجَدَ رِيحَهُ بِأَنْفِهِ