Al-Kāfi

Hadith 1374
bad-company
5ـ عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ أَحْمَدَ بْنِ مُحَمَّدِ بْنِ خَالِدٍ عَنْ عُثْمَانَ بْنِ عِيسَى عَنْ مُحَمَّدِ بْنِ يُوسُفَ عَنْ مُيَسِّرٍ عَنْ أَبِي عَبْدِ الله (عَلَيهِ السَّلام) قَالَ لا يَنْبَغِي لِلْمُسْلِمِ أَنْ يُوَاخِيَ الْفَاجِرَ وَلا الأحْمَقَ وَلا الْكَذَّابَ.
5. A number of our people have narrated from Ahmad ibn Muhammad ibn Khalid from ‘Uthman ibn ‘Isa from Muhammad ibn Yusuf from Muyassir from Abu ‘Abdillah (a.s.) who said: “It is not proper for the Muslim to establish brotherhood with the open sinner, the fool or the liar.”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī