Jabir bin Samura reported,

The Messenger of Allah ﷺ led us in the dawn prayer, and he began to reach out with his hand. Khalaf said, he was reaching forward during the prayer.When he finished, the people asked him about it, and he said, "Satan was throwing sparks of fire at me to distract me from my prayer, so I seized him. Had I taken hold of him, he would not have escaped me until he was tied to one of the pillars of the mosque for the children of Madinah to look at him."

Azami 2657

Hasan

عن جابر بن سمرة قال

صلى بنا رسول الله ﷺ صلاة الفجر، فجعل يهوي بيده، قال خلف: يهوي في الصلاة قدامه. فسأله القوم حين انصرف فقال: إن الشيطان هو كان يلقي علي شرار النار ليفتنني عن صلاتي، فتناولته، فلو أخذته ما انفلت مني حتى يناط إلى سارية من سواري المسجد، ينظر إليه ولدان أهل المدينة.

الأعظمي 2657حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Minor actions do not invalidate the prayer
Section
Repelling the jinn and strangling it during prayer
Numbering
Jami al-Kamil 2657 (2nd edition)
Azami 2657