Mu'awiyah bin Al-Hakam (May Allah be pleased with him) reported:
I said: "O Messenger of Allah, I have recently emerged from ignorance and Allah has favoured me with Islam. There are still some men among us who visit the soothsayers to consult them (on matters relating to the future)." He (ﷺ) replied, "Do not visit them." I said: "There are some men who are guided by omens." He replied, "These are the ideas which come up in their minds but you should not be influenced by them (i.e., these things) should not prevent them from pursuing their works." I said: "There are some men who practise divination by drawing lines on the ground." The Messenger of Allah (ﷺ) replied, "There was a Prophet who drew lines, the line which agrees with the line drawn by that Prophet would be correct."[Muslim].
App reference: Book 18, Hadith 162
Arabic/English book reference: Book 18, Hadith 1672