Authentic Supplication Number 142.

Suhayl bin Abi Salih said: My father sent me to Banee Harithata and with me was a young slave, or a friend of ours, then someone called him by his name from a fence, so the one that was with me overlooked upon the fence; however, he did not see anything. So I mentioned that to my father, he said: If I had sensed that you would encounter this I would not have sent you. However, if you ever hear a sound, then make the call to salat, because I have heard Aba Hurayrata  telling, of the Prophet , that he said: "When the salat is called to, the shaytan goes (turns) away."

Reported by Muslim, and is #108 in The Authentic of Good Sayings.