Umm Habibah reported: The Prophet, peace and blessings be upon him, said, “Every word of the son of Adam is against him, not for him, except for enjoining good, forbidding evil, or the remembrance of Allah.”
Source: Sunan al-Tirmidhī 2412
Grade: Hasan (fair) according to Al-Munawi
عَنْ أُمِّ حَبِيبَةَ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ كُلُّ كَلَامِ ابْنِ آدَمَ عَلَيْهِ لَا لَهُ إِلَّا أَمْرٌ بِمَعْرُوفٍ أَوْ نَهْيٌ عَنْ مُنْكَرٍ أَوْ ذِكْرُ اللَّهِ
2412 سنن الترمذي كتاب الزهد باب منه
2/269 المحدث محمد المناوي خلاصة حكم المحدث إسناده حسن في كشف المناهج