Hadithcore
Riyad as-Salihin, 1672

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." <b>[Muslim]</b>.

وعن معاوية بن الحكم رضي الله عنه قال‏:‏ قلت يا رسول الله إني حديث عهد بجاهلية، وقد جاء الله تعالى بالإسلام، وإن منا رجالا يأتون الكهان‏؟‏ قال‏:‏ ‏"‏فلا تأتهم‏"‏ قلت‏:‏ ومنا رجال يتطيرون‏؟‏ قال‏:‏ ‏"‏ذلك شيء يجدونه في صدورهم، فلا يصدهم‏"‏ قلت‏:‏ ومنا رجال يخطون‏؟‏ قال‏:‏ ‏"‏كان نبي من الأنبياء يخط، فمن وافق خطه، فذاك‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 17, Hadith 162
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It is prohibited to go to soothsayers and ask them about unseen and future matters that are only known to Allah Almighty.<br> 2) Omens should not prevent a Muslim from pursuing the work he has intended to do. If he sets out to do something, after offering the Istikhārah prayer and consulting competent people, let him rely upon Allah Almighty and pursue the proper means of success.
Related hadiths1
Compare isnād across 1 related chains →