Sayyiduna Mu'awiyah bin al-Hakam al-Sulami (may Allah be pleased with him) narrated three hadiths from the Messenger of Allah (peace and blessings be upon him). He said: "O Messenger of Allah, we have only recently come out of the Jahiliyyah, and Allah has brought Islam; some of us take omens." He (peace and blessings be upon him) said: "That is something they find in their hearts, so let it not hold them back." I said: "Some of us go to soothsayers." He (peace and blessings be upon him) said: "Let them not go to them." I said: "Some of us draw lines (in the sand)." He (peace and blessings be upon him) said: "One of the prophets used to draw lines; so whoever's line agrees with his, that is (correct)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب القسامة / 16509