Suhayl reported,

Ubayy sent me to Banu Haritha. A boy of ours, or a companion of ours, was with me. Someone called out to him by name from within an orchard. The one with me looked over the wall of the orchard but saw nothing.I mentioned this to Ubayy, and he said, "Had I known you would encounter this, I would not have sent you. But whenever you hear such a voice, call out the adhan for prayer. For I heard Abu Hurayra narrate from the Messenger of Allah ﷺ that he said, 'When Satan hears the call to prayer, he turns away passing wind.'"

Muslim 858

Sahih

حدثني أمية بن بسطام حدثنا يزيد يعني ابن زريع حدثنا روح

عن سهيل قال

أرسلني أبي إلى بني حارثة قال ومعي غلام لنا أو صاحب لنا فناداه مناد من حائط باسمه قال وأشرف الذي معي على الحائط فلم ير شيئا فذكرت ذلك لأبي فقال لو شعرت أنك تلق هذا لم أرسلك ولكن إذا سمعت صوتا فناد بالصلاة فإني سمعت أبا هريرة يحدث عن رسول الله أنه قال إن الشيطان إذا نودي بالصلاة ولى وله حصاص

مسلم 858صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Virtue of the adhan and the fleeing of Satan upon hearing it
Numbering
Darussalam 858
Muslim 858