It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever goes to a fortune-teller, his prayer of forty nights will not be accepted."
Hadith Referenceالمعجم الأوسط / باب الألف / 1402
Hadith Gradingمحدثین:رجاله ثقات
Hadith Takhrij«قال الهيثمي: رجاله ثقات «مجمع الزوائد ومنبع الفوائد، ج 5، ص 118»» «أخرجه الضياء المقدسي فى «الأحاديث المختارة» (1/246) [دون رقم في الترقيم المختار]»