One of the activities of evil spirits mentioned in the Bible is that of "familiar" or "divining" spirits. These demons appear to have the ability to rouse the dead from their ordained sleep. They also seem to be able to foretell the future, to some extent. The first mention we see of these spirits in the Scriptures is a warning from God to avoid consorting with them or the mediums that contact them.
"Give no regard to mediums and familiar spirits; do not seek after them, to be defiled by them: I am the Lord your God."Leviticus 19:31
"And the person who turns to mediums and familiar spirits, to prostitute himself with them, I will set My face against that person and cut him off from his people."Leviticus 20: 6
"A man or a woman who is a medium, or who has familiar spirits, shall surely be put to death; they shall stone them with stones. Their blood shall be upon them."Leviticus 20:27
“There shall not be found in thee one who purges his son or his daughter with fire, one who uses divination, who deals with omens, and augury, a sorcerer employing incantation, one who has in him a divining spirit, an observer of signs, questioning the dead.”Deuteronomy 18:10
“Then Saul said to his servants, Seek for me a woman who has in her a divining spirit, and I will go to her, and enquire of her: and his servants said to him, Behold, there is a woman who has in her a divining spirit at Aendor. And Saul disguised himself, and put on other raiment, and he goes, and two men with him, and they come to the woman by night; and he said to her, Divine to me, I pray thee, by the divining spirit within thee, and bring up to me him whom I shall name to thee. And the woman said to him, Behold now, thou knowest what Saul has done, how he has cut off those who had in them divining spirits, and the wizards from the land, and why dost thou spread a snare for my life to destroy it?”I Samuel 28:7
“It happened that as we were going to the place of prayer, a slave-girl having a spirit of divination met us, who was bringing her masters much profit by fortune-telling. Following after Paul and us, she kept crying out, saying, "These men are bond-servants of the Most High God, who are proclaiming to you the way of salvation." She continued doing this for many days. But Paul was greatly annoyed, and turned and said to the spirit, "I command you in the name of Jesus Christ to come out of her!" And it came out at that very moment.” Acts 16:16