Among the signs that the Lord is pleased with His slave is that He guides him to do good deeds and avoid haraam things. This is confirmed by the words of Allaah:
“While as for those who accept guidance, He increases their guidance and bestows on them their piety”
“As for those who strive hard in Us (Our Cause), We will surely guide them to Our paths (i.e. Allaah’s religion — Islamic Monotheism)”
But if a person is hindered from doing good deeds and avoiding haraam things – we seek refuge with Allaah – then that is a sign that Allaah is not pleased with him.
Allaah has also explained in His Book that the sign of His being pleased with His slave and of His guidance is that He opens his heart to true guidance and true faith. And the sign of misguidance and being far from the Straight Path is distress and constriction in the heart. Allaah says (interpretation of the meaning):
“And whomsoever Allaah wills to guide, He opens his breast to Islam; and whomsoever He wills to send astray, He makes his breast closed and constricted, as if he is climbing up to the sky. Thus Allaah puts the wrath on those who believe not”
Ibn 'Abbaas said, commenting on this verse: “And whomsoever Allaah wills to guide…”: He opens his heart to Tawheed and belief therein.
Tafseer Ibn Katheer, 2/175
Another sign of Allaah’s love for His slave and His being pleased with him is that He makes him beloved to His slaves. Al-Bukhaari (3209) and Muslim (2637) narrated from Abu Hurayrah that the Prophet (peace and blessings of Allaah be upon him) said: “When Allaah loves a person, He calls out to Jibreel: ‘Allaah loves So and so,’ so Jibreel loves him. Then Jibreel calls out to the people of heaven, ‘Allaah loves So and so, so love him.’ So the people of heaven love him and he finds acceptance on earth.”
Al-Nawawi said: “and he finds acceptance on earth” means that people love him and are pleased to see him, so their hearts incline towards him. It says in another report: “and he finds love on earth.”
And Allaah knows best.