When advising another man, Umar ibn al Khattab (Radi Allahu Anhu), the second Caliph said,
“Do not speak about that which does not concern you.
Know your enemy and be wary of your friend, except for the trustworthy one, and no one is trustworthy, except for the person who fears Allah (God).
Do not walk with the evil-doer, lest he teaches you some of his evil, and do not reveal your secrets to him.
When you consult others in your affairs, consult only those who fear Allah ‘Azza wa jall.”
Extract from: Sifatus-Safwah (1/149)