The Prophet ﷺ said, "Allah will seize the earth on the Day of Resurrection and roll up the heavens in His right hand, then He will say, 'I am the King. Where are the kings of the earth?'"
عن النبي ﷺ الله قال: يقبض الله الأرض القيامة، ويطوي السماء بيمينه ثم يقول: أنا الملك، أين ملوك الأرض؟
Bukhari narrated it in the Book of Tawhid (7382), and Muslim in the Book of the Description of the Day of Resurrection, Paradise and Hell (2787), both of them through the route of Ibn Wahb, who said, Yunus told me, from Ibn Shihab, who said, Saeed bin Musayab narrated to me, from Abu Hurairah, and he mentioned it. The wording is Bukhari's.