Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:537e[Chain 1] Muḥammad b. al-Ṣabbāḥ And ʾAbū Bakr b. Abū Shaybah > Ismāʿīl Wahū Ibn ʿUlayyah > Ḥajjāj al-Ṣawwāf [Chain 2] Isḥāq b. Ibrāhīm > ʿĪsá b. Yūnus > al-Awzāʿī > Yaḥyá b. Abū Kathīr > Hilāl b. Abū Maymūnah > ʿAṭāʾ b. Yasār > Muʿāwiyah b. al-Ḥakam al-Sulamī

I said: Among us there are men who draw lines and thus make divination. What about this? Thereupon he (the Holy Prophet) said: There was a Prophet who drew lines, so whose lines agree with his line for him it is allowable.  

مسلم:٥٣٧eوَحَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ وَأَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ قَالاَ حَدَّثَنَا إِسْمَاعِيلُ وَهُوَ ابْنُ عُلَيَّةَ عَنْ حَجَّاجٍ الصَّوَّافِ ح وَحَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ أَخْبَرَنَا عِيسَى بْنُ يُونُسَ حَدَّثَنَا الأَوْزَاعِيُّ كِلاَهُمَا عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ عَنْ هِلاَلِ بْنِ أَبِي مَيْمُونَةَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ مُعَاوِيَةَ بْنِ الْحَكَمِ السُّلَمِيِّ

عَنِ النَّبِيِّ ﷺ بِمَعْنَى حَدِيثِ الزُّهْرِيِّ عَنْ أَبِي سَلَمَةَ عَنْ مُعَاوِيَةَ وَزَادَ فِي حَدِيثِ يَحْيَى بْنِ أَبِي كَثِيرٍ قَالَ قُلْتُ وَمِنَّا رِجَالٌ يَخُطُّونَ قَالَ كَانَ نَبِيٌّ مِنَ الأَنْبِيَاءِ يَخُطُّ فَمَنْ وَافَقَ خَطُّهُ فَذَاكَ  


See similar narrations below:

Collected by Abū Dāwūd
abudawud:3909Musaddad > Yaḥyá > al-Ḥajjāj al-Ṣawwāf > Yaḥyá b. Abū Kathīr > Hilāl b. Abū Maymūnah > ʿAṭāʾ b. Yasār > Muʿāwiyah b. al-Ḥakam al-Sulamī

I said: Messenger of Allah! among us there are men who practice divination by drawing lines. He said: There was a Prophet who drew lines, so if anyone does it as he drew lines, that is right.  

أبو داود:٣٩٠٩حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا يَحْيَى عَنِ الْحَجَّاجِ الصَّوَّافِ حَدَّثَنِي يَحْيَى بْنُ أَبِي كَثِيرٍ عَنْ هِلاَلِ بْنِ أَبِي مَيْمُونَةَ عَنْ عَطَاءِ بْنِ يَسَارٍ عَنْ مُعَاوِيَةَ بْنِ الْحَكَمِ السُّلَمِيِّ قَالَ

قُلْتُ يَا رَسُولَ اللَّهِ وَمِنَّا رِجَالٌ يَخُطُّونَ قَالَ كَانَ نَبِيٌّ مِنَ الأَنْبِيَاءِ يَخُطُّ فَمَنْ وَافَقَ خَطَّهُ فَذَاكَ