Jami` at-Tirmidhi 397
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّ الشَّيْطَانَ يَأْتِي أَحَدَكُمْ فِي صَلاَتِهِ فَيَلْبِسُ عَلَيْهِ حَتَّى لاَ يَدْرِي كَمْ صَلَّى فَإِذَا وَجَدَ ذَلِكَ أَحَدُكُمْ فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ "
Abu Hurairah narrated that:
Allah's Messenger (S) said: "Indeed the Shaitan comes to one of you in his Salat confusing him until he does now know how much he has prayed. When one of you experiences that then let him perform two prostrations while sitting."
Full reference and source
Jami` at-Tirmidhi 397 In-book : Book 2, Hadith 250 English translation : Vol. 1, Book 2, Hadith 397
View source on Sunnah.com (opens in a new tab)