Nahj al-Balagha Hadith n. 401

Selections from The Sayings and Preaching of Amir al-Muminin Ali ibn Abi Talib (Peace Be Upon Him) Including His Replies to Questions and Maxims Expressed for Various Purposes.
Translated by Sayyid Ali Reza

وَقَالَ (عليه ‏السلام):

Amir al-mu'minin, peace be upon him, said:

مُقَارَبَةُ النَّاسِ فِي أَخْلاَقِهِمْ

Nearness with people in their manners

أَمْنٌ مِنْ غَوَائِلِهِمْ.

brings about safety from their evil.