Anas bin Malik reported,

The Messenger of Allah ﷺ said, "My nation will pass through five stages. The first forty years will be people of righteousness and piety. Those who follow them, up to one hundred and twenty years, will be people of mutual mercy and connection. Those who follow them, up to one hundred and sixty years, will be people of mutual turning away and severing of ties. Then will come turmoil upon turmoil, so save yourselves, save yourselves."Nasr bin Ali narrated to us, Khazim Abu Muhammad al-Anzi narrated to us, Miswar bin al-Hasan narrated to us, from Abu Maan, from Anas bin Malik, who said that the Messenger of Allah ﷺ said, "My nation will pass through five stages, each stage being forty years. As for my own stage and the stage of my companions, they are people of knowledge and faith. As for the second stage, between forty and eighty years, they are people of righteousness and piety." Then he mentioned the rest similarly.

Ibn Majah 4058

Daif

حدثنا نصر بن علي الجهضمي حدثنا نوح بن قيس حدثنا عبد الله بن معقل عن يزيد الرقاشي

عن أنس بن مالك

عن رسول الله ﷺ قال أمتي على خمس طبقات فأربعون سنة أهل بر وتقوى ثم الذين يلونهم إلى عشرين ومائة سنة أهل تراحم وتواصل ثم الذين يلونهم إلى ستين ومائة سنة أهل تدابر وتقاطع ثم الهرج الهرج النجا النجا حدثنا نصر بن علي حدثنا خازم أبو محمد العنزي حدثنا المسور بن الحسن عن أبي معن عن أنس بن مالك قال قال رسول الله ﷺ أمتي على خمس طبقات كل طبقة أربعون عاما فأما طبقتي وطبقة أصحابي فأهل علم وإيمان وأما الطبقة الثانية ما بين الأربعين إلى الثمانين فأهل بر وتقوى ثم ذكر نحوه

ابن ماجه 4058ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Tribulations
Chapter
Verses
Numbering
Darussalam 4058
Ibn Majah 4058