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].
App reference: Book 9, Hadith 46
Arabic/English book reference: Book 9, Hadith 1036