Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) says: Whoever goes to an arraf (a diviner), a magician or a soothsayer, asks him something and believes what he says, has disbelieved in what was revealed to Sayyiduna Muhammad (peace and blessings be upon him).
Abu Ya'la recorded it, and its narrators are the narrators of the Sahih, except Hubayrah bin Yarim, who is thiqah (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الطب / 8490