Abu Huraira reported the Messenger of Allah (ﷺ) as saying
When Satan hears the call to prayer, he turns back and breaks the wind so as not to hear the call being made, but when the call is finished he turns round and distracts (the minds of those who pray), and when he hears the Iqama, he again runs away so as not to hear its voice and when it subsides, he comes back and distracts (the minds of those who stand for prayer).