From Sahih Bukhari (Hadith 6519):
Narrated Abu Huraira:The Prophet (ﷺ) said, "Allah will take the whole earth (in His Hand) and will roll up the Heaven in His right Hand, and then He will say, "I am King! Where are the kings of the earth ?
Reference: Bukhari 6519