“A man came to the Prophet ﷺ and said: ‘O Messenger of Allah, show me a deed which, if I do it, Allah will love me and people will love me. The Messenger of Allah ﷺ said: “Be indifferent towards this world, and Allah will love you. Be indifferent to what is in people’s hands, and they will love you.” (Using translation from Ibn Mājah 4102)
رَجُلٌ يَا رَسُولَ اللهِ دُلَّنِي عَلَى عَمِلٍ إِذَا أَنَا عَمِلْتُهُ أَحَبَّنِي النَّاسُ قَالَ «ازْهَدْ فِي الدُّنْيَا يُحِبَّكَ اللهُ وَازْهَدْ فِيمَا فِي أَيْدِي النَّاسِ يُحِبَّكَ النَّاسُ»