Amr bin Hamiq reported,

He heard the Prophet ﷺ say, "When Allah intends good for a servant, He puts him to use."Someone asked, "What does it mean that He puts him to use?"He replied, "He opens for him the path to a righteous deed before his death, so that those around him become pleased with him."

Ahmad 21949

Sahih

حدثنا زيد بن الحباب حدثنا معاوية بن صالح حدثني عبد الرحمن بن جبير بن نفير عن أبيه

عن عمرو بن الحمق الخزاعي

أنه سمع النبي ﷺ يقول إذا أراد الله بعبد خيرا استعمله قيل وما استعمله قال يفتح له عمل صالح بين يدي موته حتى يرضى عنه من حوله

أحمد 21949صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Amr bin Hamiq Khuzai
Numbering
Darussalam 21949
Ahmad 21949