Muslims do deeds only to please Allaah. A Muslim does not worry about those around him. He does not care about anyone but Allaah because He knows that Tawhiid requires that one only do deeds for the Sake of Allaah. He fears no one but Allaah. Allaah is at the center of his world. Every move he makes is only to please the King of kings.
Then Allaah loves him. Jibriil loves him. The inhabitants of the heavens love him. Finally, the people on earth love him.
Abu Huraira reported that Allah's Messenger (sallallaahu alayhi wa sallam) said:
When Allah loves a servant, He calls Gabriel and says: Verily, I so and so; you should also love him, and then Gabriel begins to love him.
Then he makes an announcement in the heaven saying: Allah loves so and so and you also love him, and then the inhabitants of the Heaven (the Angels) also begin to love him and then there is conferred honor upon him in the earth; and when Allah is angry with any servant He calls Gabriel and says: I am angry with such and such and you also become angry with him, and then Gabriel also becomes angry and then makes an announcement amongst the inhabitants of heaven: Verily Allah is angry with so-and so, so you also become angry with him, and thus they also become angry with him. Then he becomes the object of wrath on the earth also.
[Sahih Muslim Hadith No. 2637]
If you do deeds only for the Sake of Allaah and you find that people love you, know that Allaah loves you. This is a sign. When you sin and disobey Allaah, you will see that people will hate you. Allaah will take love out of their hearts.
However, you must remember an important fact. You do deeds only to please Allaah and not the people. The love of the people is a result of your good deeds done only for Allaah.
If you do deeds to please the people, you will never attain their love. They may say they love you, but they will despise you.
This is the beauty of Islaam. When you do deeds only to please Allaah people will love you even if people dislike what you did.
And if you do deeds to please the people, they will despise you.
Do deeds only for Allaah and He will love you. The love of the creation will follow. Do deeds to please people and no one will love you. Allaah will not love you. Jibriil will not love you. The inhabitants of the heavens and the earth will not love you.
Indeed, those who have believed and done righteous deeds – the Most Merciful will appoint for them affection.