Sunnah.com : Book 9, Hadith 46
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 (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "When Adhan for Salat is pronounced, the devil takes to his heels and breaks wind with noise so as not to hear the call. When the Adhan is finished, he returns. When the Iqamah is announced, he turns his back, and after it is finished, he returns again to distract the attention of one and makes him remember things which he does not recall in his mind before the Salat, and says 'Remember this, and this,' and thus causes one to forget how many Rak'at he performed." [Al-Bukhari and Muslim].
Full reference and source
Sunnah.com : Book 9, Hadith 46 Arabic/English book : Book 9, Hadith 1036
View source on Sunnah.com (opens in a new tab)