VI.i.10. A certain old man to whom had been given the gift of discernment said that he saw a brother meditating in his cell and a demon who had approached was standing outside. As long as the brother was meditating the demon was not able to enter, but as soon as the brother stopped meditating, the demon got in.
De Vitis Patrum, Volume VI