Negative commandment · Lo Ta’aseh #9 of 613
Not to perform the deeds associated with a yid'oni
שלא לעשות מעשה יידעוני
The verse · Vayikra 19:31
אַל־תִּפְנוּ אֶל־הָאֹבֹת וְאֶל־הַיִּדְּעֹנִים אַל־תְּבַקְשׁוּ לְטׇמְאָה בָהֶם אֲנִי ה׳ אֱלֹהֵיכֶם
“You shall not apply to mediums or wizards, nor seek to be defiled by them: I am the Lord your God.”
The Rambam’s words
Not to perform the deeds associated with a yid'oni, as [Leviticus 19:31] states: "Do not turn to... the yid'onim."
שלא לעשות מעשה יידעוני, שנאמר "ואל היידעונים" (ויקרא יט,לא).
Where in the Mishneh Torah
Hilchot Foreign Worship and Customs of the Nations הלכות עבודה זרה וחוקות הגויים