Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When the call to prayer is made, Satan turns and flees, breaking wind as he goes. Once the call is finished, he returns and slips between a man and his heart, until he no longer knows how much he has prayed. When any of you experiences this, let him perform two prostrations."

Nasai 1254

Sahih

أخبرنا بشر بن هلال قال حدثنا عبد الوارث عن هشام الدستوائي عن يحيى بن أبي كثير عن أبي سلمة

عن أبي هريرة قال

قال رسول الله ﷺ إذا نودي للصلاة أدبر الشيطان له ضراط فإذا قضي التثويب أقبل حتى يخطر بين المرء وقلبه حتى لا يدري كم صلى فإذا رأى أحدكم ذلك فليسجد سجدتين

النسائي 1254صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Forgetfulness
Chapter
Seeking the most correct direction
Numbering
Darussalam 1254
Nasai 1254