It is narrated from Anas (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) said: "Indeed, when Allah intends good for a servant, He employs him in (acts of obedience)." It was asked: O Messenger of Allah! How does He employ him? He said: "He grants him the ability to do righteous deeds before death." Sahih, narrated by al-Tirmidhi.
Hadith Referenceمشكوة المصابيح / كتاب الرقاق / 5288
Hadith Gradingالألبانی:صَحِيح | زبیر علی زئی:صحيح
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «صحيح، رواه الترمذي (2142 و قال: صحيح)»