Ayyub al-Sakhtiyani reported: Abu Qilabah, may Allah have mercy on him, said, “Be on guard from three traits: beware of the gates of rulers, beware of sitting with the people of whims, and keep working for yourself, as independence is part of wellness.”
In another narration, Abu Qilabah said, “Do not sit with the people of whims and do not debate them. Indeed, there is no safety from them immersing you in their misguidance or confusing you with that they know.”
Source: Shu’ab al-Imān 1199
عن أَيُّوبُ السَّخْتِيَانِيُّ قَالَ أَبُو قِلابَةَ رحمه الله احْفَظْ عَنِّي ثَلاثَ خِصَالٍ إِيَّاكَ وَأَبْوَابَ السُّلْطَانِ وَإِيَّاكَ وَمَجَالِسَ الأَهْوَاءِ وَالْزَمْ سَوْقَكَ فَإِنَّ الْغِنَى مِنَ الْعَافِيَةِ
وفي رواية أخرى قال لَا تُجَالِسُوا أَهْلَ الْأَهْوَاءِ وَلَا تُجَادِلُوهُمْ فَإِنِّي لَا آمَنُ مِنْ أَنْ يَغْمِسُوكَ فِي ضَلَالَتِهِمْ أَوْ يَلْبِسُوا عَلَيْكُمْ مَا يَعْرِفُونَ
1199 شعب الإيمان للبيهقي