In addition to the scripture in Luke, there is also this:
Regard not them that have familiar spirits, neither seek after wizards, to be defiled by them: I am the Lord your God. - Leviticus 19:31
The sin of Saul was communicating with the dead