The Messenger of Allah ﷺ said, "The Hour will not come until two great factions fight one another, with a massive slaughter between them, though their call is one. Nor until nearly thirty deceiving impostors are sent forth, each claiming to be a messenger of Allah. Nor until knowledge is taken away, earthquakes multiply, time draws near, tribulations appear, and harj becomes widespread, meaning killing. Nor until wealth becomes so abundant among you that it overflows, so that the owner of wealth becomes anxious about who will accept his charity, and when he offers it, the one to whom it is offered says, 'I have no need of it.' Nor until people compete in raising tall buildings. Nor until a man passes by another man's grave and says, 'I wish I were in his place.' Nor until the sun rises from its place of setting. When it rises and the people see it, they will all believe, but that will be when 'no soul will benefit from its faith if it had not believed before or earned good through its faith' [Anam 6:158].The Hour will surely come while two men have spread out a garment between them to trade, yet they will neither complete the sale nor fold it up. The Hour will surely come while a man has just turned away with the milk of his she-camel, yet he will not get to drink it. The Hour will surely come while a man is plastering his water trough, yet he will not get to water his animals from it. The Hour will surely come while a man has raised his morsel of food to his mouth, yet he will not get to eat it."
أن رسول الله ﷺ قال: لا تقوم الساعة حتى تقتتل فئتان عظيمتان يكون بينهما مقتلة عظيمة، دعوتهما واحدة، وحتى يبعث دجالون كذابون، قريب من ثلاثين، كلهم يزعم أنه رسول الله، وحتى يقبض العلم، وتكثر الزلازل، ويتقارب الزمان، وتظهر الفتن، ويكثر الهرج، - وهو القتل- وحتى يكثر فيكم المال، فيفيض حتى يهم رب المال من يقبل صدقته، وحتى يعرضه عليه، فيقول الذي يعرضه عليه: لا أرب لي به، وحتى يتطاول الناس في البنيان، وحتى يمر الرجل بقبر الرجل، فيقول: يا ليتني مكانه، وحتى تطلع الشمس من مغربها فإذا طلعت ورآها الناس يعني آمنوا أجمعون فذلك حين {لا ينفع نفسا إيمانها لم تكن آمنت من قبل أو كسبت في إيمانها خيرا} [الأنعام: ١٥٨] ولتقومن الساعة، وقد نشر الرجلان ثوبهما بينهما فلا يتبايعانه ولا يطويانه، ولتقومن الساعة وقد انصرف الرجل بلبن لقحته فلا يطعمه، ولتقومن الساعة وهو يليط حوضه فلا يسقي فيه، ولتقومن الساعة، وقد رفع أكلته إلى فيه فلا يطعمها.
Bukhari narrated it in "Fitan" (7121), and Muslim narrated it in "Iman," divided following hadith (157), and in "Fitan and the Signs of the Hour" (157:53) following hadith (2907), and also in it (2954), both through the route of Abu Zinad Abdullah bin Zakwan, from Abdul-Rahman Araj, from Abu Hurairah, who mentioned it, and the wording given is Bukhari's.