Hadith:TO GAIN THE LOVE OF ALLAH (SWT) AND THE LOVE OF THE PEOPLE

Abu’l-Abbas as-Sa’idi (radiallahu anh) said : “A man came to the Prophet (sallallahu ‘alayhi wa sallam) and said, ‘Oh Messenger of Allah (s.a.w.s.)! Guide me to such an action, that when I do it, Allah will love me and the people will love me.’ He (s.a.w.s.) said: “Be detached from this world and then Allah will love you and do not be attracted to what people have and then the people will love you”.
[Ibn Majah /kitab az-zuhud/ 2/1373]