Leviticus 19:31

19:31 Do not turn to the spirits of the dead and do not seek familiar spirits to become unclean by them. I am the Lord your God.

sn The prohibition here concerns those who would seek special knowledge through the spirits of the dead, whether the dead in general or dead relatives in particular (i.e., familiar spirits; see J. E. Hartley, Leviticus [WBC], 321, and B. A. Levine, Leviticus [JPSTC], 134). Cf. Lev 20:6 below.