Sayyiduna Mu'awiyah bin al-Hakam (may Allah be pleased with him) relates: I said: "O Messenger of Allah, we had only recently come out of the days of ignorance (Jahiliyyah), and Allah has sent guidance with Islam, and among us are men who go to soothsayers." He (peace and blessings be upon him) said: "Then do not go to them." I said: "And among us are men who take evil omens." He (peace and blessings be upon him) said: "That is something they feel in their breasts; it does not harm them." I said: "And among us are men who draw lines (in the sand)." He (peace and blessings be upon him) said: "One of the prophets used to draw lines, so whoever matches his lines, that is fine."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 16992