The Prophet ﷺ said, "When the call to prayer is made, Satan turns and flees, breaking wind so that he does not hear the call. Once the call is finished, he comes back. Then when the iqamah is called, he turns and flees again, and when the iqamah is finished, he returns and slips between a man and his heart," or he said, "his soul. He says to him, 'Remember this, remember that,' reminding him of things he had not been thinking of, until the man no longer knows how much he has prayed. So if any of you does not know whether he has prayed three or four, let him perform two prostrations while sitting."
حدثنا عبد الملك بن عمرو حدثنا هشام عن يحيى عن أبي سلمة
عن النبي ﷺ قال إذا نودي للصلاة أدبر الشيطان وله ضراط حتى لا يسمع الأذان فإذا قضي الأذان أقبل فإذا ثوب بها أدبر فإذا قضي التثويب أقبل يخطر بين المرء وقلبه أو قال نفسه يقول اذكر كذا اذكر كذا لما لم يكن يذكر حتى يظل الرجل لا يدري كم صلى فإذا لم يدر أحدكم صلى ثلاثا أو أربعا فليسجد سجدتين وهو جالس