One of the wives of the Prophet ﷺ reported that the Prophet ﷺ said, "Whoever goes to a fortune-teller and asks him about something, his prayer will not be accepted for forty nights."
عن بعض أزواج النبي ﷺ، عن النبي ﷺ قال: من أتى عرافا فسأله عن شيء لم تقبل له صلاة أربعين ليلة.