Watchfulness Riyad as-Salihin 66
Arabic hadith text
السابع: عن أبي يعلى شداد بن أوس رضي الله عنه عن النبي صلى الله عليه وسلم قال: " الكيس من دان نفسه، وعمل لما بعد الموت ، والعاجز من أتبع نفسه هواها، وتمنى على الله" ((رواه الترمذي وقال حديث حسن)).
Translation
Shaddad bin Aus (May Allah be pleased with him) reported
The Prophet (ﷺ) said, "A wise man is the one who calls himself to account (and refrains from doing evil deeds) and does noble deeds to benefit him after death; and the foolish person is the one who subdues himself to his temptations and desires and seeks from Allah the fulfillment of his vain desires".[At-Tirmidhi, who categorized it as Hadith Hasan].