The Prophet ﷺ said, "Woe to the Arabs from an evil that has drawn near. Trials like patches of dark night, in which a man will be a believer in the morning and a disbeliever by evening, or a believer in the evening and a disbeliever by morning. He will sell his religion for a small worldly gain. The one who clings to his religion on that day will be like one grasping thorny branches or burning embers of ghada wood."
أن النبي ﷺ كان يقول: ويل للعرب من شر قد اقترب، فتن كقطع الليل المظلم، يصبح الرجل فيها مؤمنا ويمسي كافرا، ويمسي مؤمنا ويصبح كافرا، يبيع دينه بعرض من الدنيا قليل، المتمسك منهم يومئذ على دينه كالقابض على خبط الشوك أو جمر الغضى.
Ahmad (9073) narrated it from Yahya bin Ishaq and Hasan (that is, Ibn Musa), and Jafar Firyabi narrated it in Sifat al-Munafiq (100) from Qutayba bin Saeed, both of them from Ibn Lahia, from Abu Yunus, who is Salim bin Jubayr, the freed slave of Abu Hurairah, from Abu Hurairah, and he related it. The wording is that of Firyabi. Its chain of transmission is hasan, for although Ibn Lahia had a poor memory, some scholars accepted what Qutayba narrated from him.As for his saying, "Tribulations like fragments of dark night... he sells his religion for a worldly trifle," Muslim narrated it in the Book of Faith (118) by way of Ala bin Abdul-Rahman, from his father, from Abu Hurairah, and it is mentioned in its proper place.Hakim (4/439–440) and Dani in al-Fitan (53) narrated it by another route from Abu Hurairah, as a saying of the Prophet, "Woe to the Arabs from an evil that has drawn near, die if you are able," but his saying, "die if you are able" is an anomalous addition.