This is not true. The hadeeth is authentic and it is in Musnad Al Imam Ahmed.

The prophet said – Whoever went to a fortune-teller and asked him about some matter (i.e. of the unseen) and believed him, will have his prayer rejected for forty days. I hear that this is not authentic is that true?

Hadeeth & its Sciences |