Anas ibn Maalik (may Allaah be pleased with him) said:
The Messenger of Allaah (peace and blessings of Allaah be upon him) said:
“When Allaah wills good for His slave, He uses him.” They said, “How does He use him?” He said, “He guides him to do good deeds before he dies.”
Narrated by Imam Ahmad, 11625; al-Tirmidhi, 2142; classed as saheeh by al-Albaani in al-Silsilah al-Saheehah, 1334.