Muhammad bin Ali said: Do not sit with the philosophers, they find faults in the verses of Allah (or they criticize them).
Hadith Referenceسنن دارمي / مقدمه / 221
Hadith Gradingتحقیق (حسین سلیم أسد الدارانی):إسناده ضعيف لضعف ليث بن أبي سليم، [مكتبه الشامله نمبر: 221]
Hadith Takhrijاس روایت کی سند ضعیف ہے، اور اس اثر کو ابن بطہ نے [الإبانة 383، 384] میں ذکر کیا ہے۔
Brief Explanation
(Commentary on Ahadith 218 to 221)
Although there is weakness in the chain of narration of this athar, this matter is exactly in accordance with verse number (68) of Surah Al-An'am.
The command of Allah, the Exalted, is: (Translation: "And when you see those who engage in fault-finding regarding Our verses, then turn away from them until they engage in some other discourse. And if Satan causes you to forget, then after remembering, do not sit with such wrongdoers.")