[Machine] Allah ﷻ revealed to David, ﷺ , "O David, shall I not teach you two actions that if you do them, you will gain the love of the people and reach my satisfaction?" He said, "Yes, O Lord." Allah said, "Guard yourself in what is between you and I with piety and mix with people with their good manners."
أَوْحَى اللَّهُ ﷻ إِلَى دَاوُدَ عَلَيْهِ السَّلَامُ يَا دَاوُدُ أَلَا أُعَلِّمُكَ عَمَلَيْنِ إِذَا عَمِلْتَ بِهِمَا أَلَّفْتَ بِهِمَا وُجُوهَ النَّاسِ إِلَيْكَ وَبَلَغْتَ بِهِمَا رِضَايَ؟ قَالَ بَلَى يَا رَبِّ قَالَ احْتَجِرْ فِيمَا بَيْنِي وَبَيْنَكَ بِالْوَرَعِ وَخَالِطِ النَّاسَ بِأَخْلَاقِهِمْ