It is narrated from one of the purified wives of the Noble Prophet (peace and blessings be upon him) that the Messenger of Allah (peace and blessings be upon him) said: Whoever goes to a soothsayer (fortune-teller) and confirms what he says, his prayer will not be accepted for forty days.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23222