The Messenger of Allah ﷺ said, "Whoever has intercourse with a menstruating woman, or with a woman in her anus, or goes to a fortune-teller and believes what he says, has disbelieved in what was revealed to Muhammad."
حدثنا أبو بكر بن أبي شيبة وعلي بن محمد قالا حدثنا وكيع قال حدثنا حماد بن سلمة عن حكيم الأثرم عن أبي تميمة الهجيمي
قال رسول الله ﷺ من أتى حائضا أو امرأة في دبرها أو كاهنا فصدقه بما يقول فقد كفر بما أنزل على محمد
Hasan. Reported by Abu Dawud, Divination and Bad Omens, Chapter on Diviners, no. 3904, and Tirmidhi, no. 135, who discussed some remarks regarding its explanation.Hakeem Al-Athram was regarded as reliable by the majority, and his hadith has corroborating narrations in Muslim and elsewhere.