Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When Allah loves a servant, He calls Jibreel and says, 'I love so-and-so, so love him.' Jibreel then loves him. Jibreel then calls out to the inhabitants of the heavens, 'Allah loves so-and-so, so love him,' and the inhabitants of the heavens love him. Then acceptance is placed for him on earth.And when He despises a servant, He calls Jibreel and says, 'I despise so-and-so, so despise him.' Jibreel then despises him. Jibreel then calls out to the inhabitants of the heavens, 'Allah despises so-and-so, so despise him,' and they despise him. Then hatred for him is placed on earth."

Azami 13977

Sahih

عن أبي هريرة، قال

قال رسول الله ﷺ: إن الله إذا أحب عبدا دعا جبريل فقال: إني أحب فلانا فأحبه، قال: فيحبه جبريل، ثم ينادي في السماء فيقول: إن الله يحب فلانا فأحبوه، فيحبه أهل السماء، قال ثم يوضع له القبول في الأرض، وإذا أبغض عبدا دعا جبريل فيقول: إني أبغض فلانا فأبغضه، قال فيبغضه جبريل، ثم ينادي في أهل السماء إن الله يبغض فلانا فأبغضوه، قال: فيبغضونه، ثم توضع له البغضاء في الأرض.

الأعظمي 13977صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Noble character
Section
When Allah loves a servant, He makes him beloved to His servants
Numbering
Jami al-Kamil 13977 (2nd edition)
Azami 13977