كتاب المقدمات
The Book of Miscellany
(5)
Chapter: Watchfulness
(5)
- باب المراقبة
Riyad as-Salihin 66
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].

السابع‏:‏ عن أبي يعلى شداد بن أوس رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ ‏ "‏ الكيس من دان نفسه، وعمل لما بعد الموت ، والعاجز من أتبع نفسه هواها، وتمنى على الله‏"‏ ‏(‏‏(‏رواه الترمذي وقال حديث حسن‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 66
In-book reference : Introduction, Hadith 66