Hadith 17:919
Abu Bakr narrated to us, he said: Abu Mu'awiyah narrated to us, from al-A'mash, from Habib ibn Abi Thabit, who said: Abdullah ibn Mas'ud said: "Mix with the people, but keep your distance from them, and shake hands with them, but do not let your religion be affected by them."
حدثنا أبو بكر قال حدثنا أبو معاوية عن الأعمش عن حبيب بن أبي ثابت قال قال عبد الله بن مسعود خالطوا الناس وزايلوهم وصافحوهم ودينكم لا تكلمونه