Aishah reported that the Messenger of Allah ﷺ came to her one day in a state of alarm, saying, "There is no god but Allah. Woe to the Arabs from an evil that has drawn near..." and so the hadith continues.
أن رسول الله ﷺ دخل عليها يوما فزعا يقول: لا إله إلا الله، ويل للعرب من شر قد اقترب… الحديث
Bukhari narrated it in The Prophets (3346), and Muslim narrated it in Tribulations (2880:2), both through Ibn Shihab, from Urwa bin Zubayr, that Zaynab bint Abu Salama told him, on the authority of Umm Habiba bint Abu Sufyan, from Zaynab bint Jahsh, the wife of the Prophet ﷺ, who said, and then mentioned it.