Do not turn to ghosts and do not inquire of familiar spirits, to be defiled by them: I the LORD am your God.
אַל־תִּפְנ֤וּ אֶל־הָאֹבֹת֙ וְאֶל־הַיִּדְּעֹנִ֔ים אַל־תְּבַקְשׁ֖וּ לְטָמְאָ֣ה בָהֶ֑ם אֲנִ֖י יְהוָ֥ה אֱלֹהֵיכֶֽם׃
Leviticus 19:31
A man or a woman who has a ghost or a familiar spirit shall be put to death; they shall be pelted with stones—their bloodguilt shall be upon them.
Leviticus 20:27