Praise be to Allah,
[Muhammad] ibn Abu ‘Adiyy narrated to us from Humayd [at-Taweel] from Anas ibn Maalik who said,
“Allah’s Messenger (PBUH) said, ‘When Allah wills good for a person, He puts him into service.’ They (i.e. his companions) asked, ‘How does He put him into service?’
He said, ‘He guides him to do a righteous deed before his death.”‘
(Musnad Ahmad, Vol. 3, p. 106. The isnaad of this Hadeeth is Saheeh according to the conditions set by al-Bukhaaree and Muslim.)
Source:
Thulaathiyyaat Musnad Ahmad ibn Hanbal (may Allah have mercy on him)
Reports of Imaam Ahmad that have only three narrators between him and the Prophet, peace, and blessings be upon him.
Shaykh Muhammad ibn Ahmad ibn Saalim as–Saffaareenee al–Hanbalee ~(1114 –1188 AH)