Sa’id ibn Abdul Aziz reported: The Prophet David, peace be upon him, said, “O Lord, how do I strive for you in the land with good will?” Allah said, “Remember me often, love those who love me whether they are black or white, judge people as you would judge yourself, and stay away from the trap of backbiting.”
Source: al-Zuhd li-Aḥmad Ibn Ḥanbal 434
عن سعيد بن عبد العزيز قَالَ قَالَ دَاوُدُ النَّبِيُّ عَلَيْهِ السَّلامُ رَبِّ كَيْفَ أَسْعَى لَكَ فِي الأَرْضِ بِالنَّصِيحَةِ قَالَ تُكْثِرُ ذِكْرِي وَتُحِبُّ مَنْ أَحَبَّنِي مِنْ أَبْيَضَ وَأَسْوَدَ وَتَحْكُمُ لِلنَّاسِ كَمَا تَحْكُمُ لِنَفْسِكَ وَتَجْتَنِبُ فِرَاشَ الْغِيبَةِ
434 الزهد لأحمد بن حنبل