[Machine] I said to Abu Sa'id al-Khudri, "One of us prays but does not know how much he has prayed." He replied, "The Messenger of Allah ﷺ said, 'If any one of you prays and does not know how much he has prayed, he should perform two prostrations while sitting. And if one of you is unsure whether he has spoken, he should say, 'I have not spoken except what my nose has smelled or my ear has heard.'"
قُلْتُ لِأَبِي سَعِيدٍ الْخُدْرِيِّ أَحَدُنَا يُصَلِّي فَلَا يَدْرِي كَمْ صَلَّى فَقَالَ قَالَ رَسُولُ اللهِ ﷺ إِذَا صَلَّى أَحَدُكُمْ فَلَمْ يَدْرِ كَمْ صَلَّى فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ وَإِذَا جَاءَ أَحَدَكُمُ الشَّيْطَانُ فَقَالَ إِنَّكَ قَدْ أَحْدَثْتَ فَلْيَقُلْ كَذَبْتَ إِلَّا مَا وَجَدَ رِيحَهُ بِأَنْفِهِ أَوْ سَمِعَ صَوْتَهُ بِأُذُنِهِ