Sahih Muslim 389 f
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّ أَحَدَكُمْ إِذَا قَامَ يُصَلِّي جَاءَهُ الشَّيْطَانُ فَلَبَسَ عَلَيْهِ حَتَّى لاَ يَدْرِي كَمْ صَلَّى فَإِذَا وَجَدَ ذَلِكَ أَحَدُكُمْ فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ "
Abu Huraira reported:
The Messenger of Allah (ﷺ) said: When any one of you stands up to pray, the devil comes to him and confuses him to that he does not know how much he has prayed. If any one of you has such an experience he should perform two prostrations while sitting down (in qa'da).
Full reference and source
Sahih Muslim 389 f In-book : Book 5, Hadith 103 USC-MSA web (English) : Book 4, Hadith 1159 (deprecated)
View source on Sunnah.com (opens in a new tab)