The Narrative of Zosimus (History of the Rechabites) 20
1Saying these things the Devil departed from me, and after eight days he brought with him one thousand three hundred and sixty demons, and dragged me from the cave as I prayed, and they beat me, tossing me about between them, for forty days. And after the forty days the devil lamented before me and said, Woe is me that through one man I have lost the world, for he has vanquished me by his prayer. And he began to run from me, but I laying hold of him stayed him and said, You shall not run away and flee from me until you swear to me never again to tempt man. And lamenting with great and violent lamentation he swore to me by the firmament of heaven, So long as your dwelling is here, and after you, I will not come upon this place. Then I let him go, sending him and the demons with him into eternal fire. Then the angel came, who had companied with me at the table, and led me into my cave with great glory.
See also: Matthew 4:11, Matthew 25:41