In a narration the wording is: "Mix with people, but also keep apart from them."
Al-Tabarani recorded it with two chains, the narrators of one of which are thiqat (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الفتن - أعاذنا الله منها / 12205
Hadith Gradingمحدثین:إسنادہ حسن
Hadith Takhrij«اخرجه الطبراني فى المعجم الكبير (9756)»