Abu Huraira reported Allah's Messenger (ﷺ) as saying:
When a person says that people are ruined he is himself ruined. Abu Ishaq said: I do not know whether he said" ahlakahum or ahlakuhum.
-Saheeh Muslim
sunnah.com
Malik related to me from Suhayl ibn Abu Salih from his father from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, said, "When you hear a man say, 'The people are ruined,' he himself is the most ruined of them all."
وَحَدَّثَنِي مَالِكٌ، عَنْ سُهَيْلِ بْنِ أَبِي صَالِحٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِذَا سَمِعْتَ الرَّجُلَ يَقُولُ هَلَكَ النَّاسُ . فَهُوَ أَهْلَكُهُمْ " .
sunnah.com
-al-Muwatta
When a person says that people are ruined he is himself ruined. Abu Ishaq said: I do not know whether he said" ahlakahum or ahlakuhum.
-Saheeh Muslim

Sahih Muslim 2623a - The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship - كتاب البر والصلة والآداب - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic

Malik related to me from Suhayl ibn Abu Salih from his father from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, said, "When you hear a man say, 'The people are ruined,' he himself is the most ruined of them all."
وَحَدَّثَنِي مَالِكٌ، عَنْ سُهَيْلِ بْنِ أَبِي صَالِحٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِذَا سَمِعْتَ الرَّجُلَ يَقُولُ هَلَكَ النَّاسُ . فَهُوَ أَهْلَكُهُمْ " .

Speech - كتاب الكلام - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic

-al-Muwatta