Anas ibn Malik reported: The Messenger of Allah, peace and blessings be upon him, said, “Renounce the worldly life and Allah will love you. As for people, leave this to them and they will love you.”
Source: Ḥilyat al-Awliyā’ 8/41
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَنَسِ بْنِ مَالِكٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ ازْهَدْ فِي الدُّنْيَا يحِبُّكَ اللهُ وَأَمَّا النَّاسُ فَانْبِذْ إِلَيْهِمْ هَذَا يُحِبُّوكَ
8/41 حلية الأولياء وطبقات الأصفياء
923 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع