Sunan Ibn Majah 1216
سنن ابن ماجه#1216SahihIt was narrated from Abu Hurairah that the Prophet (ﷺ) said:“The Satan comes to any one of you while he is praying and comes between him and his soul, until he does not know whether he as added something or omitted something. If that happens, then he should prostrate twice before the Salam, then he should say the Salam.”
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniHasan Sahih
Muhammad Fouad Abd al-BaqiHasan Sahih
Zubair Ali ZaiHasan
In-book reference: 5:414