Abdullah bin Mughafal reported,

A man met a woman who had been a prostitute during the days of ignorance, and he began flirting with her until he stretched out his hand toward her. The woman said, "Stop! Allah عز وجل has done away with polytheism." Affan once said instead, "He has done away with the days of ignorance and brought us Islam."The man turned away, and his face struck a wall, gashing it. He then came to the Prophet ﷺ and told him what had happened. The Prophet ﷺ said, "You are a servant whom Allah intends good for. When Allah عز وجل intends good for a servant, He hastens the punishment of his sin in this life. But when He intends evil for a servant, He withholds his sin from him until He brings him on the Day of Resurrection burdened with it like a wild donkey."

Azami 3435

Sahih

عن عبد الله بن مغفل قال

إن رجلا لقي امرأة كانت بغيا الجاهلية، فجعل يلاعبها، حتى بسط يده إليها، فقالت المرأة: مه! فإن الله عز وجل قد ذهب بالشرك. وقال عفان مرة: ذهب بالجاهلية، وجاءنا بالإسلام فولى الرجل، فأصاب وجهه الحائط، فشجه، ثم أتى النبي ﷺ، فأخبره فقال: أنت عبد أراد الله بك خيرا، إذا أراد الله عز وجل بعبد خيرا عجل له عقوبة ذنبه، وإذا أراد بعبد شرا أمسك عليه بذنبه، حتى يوافي به يوم القيامة كأنه عير.

الأعظمي 3435صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Patience in tribulation and illness
Section
When Allah loves a servant, He tests him
Numbering
Jami al-Kamil 3435 (2nd edition)
Azami 3435