The Messenger of Allah ﷺ said, "Allah drew the earth together for me so that I saw its eastern and western horizons, and the dominion of my nation will reach what was drawn together for me of it." The hadith continues.
قال رسول الله ﷺ: إن الله زوى لي الأرض فرأيت مشارقها ومغاربها، وإن أمتي سيبلغ ملكها ما زوي لي منها… الحديث
Muslim narrated it in the Book of Tribulations (19:2889) through several routes from Hammad bin Zayd, from Ayub, from Abu Qilaba, from Abu Asma, from Thawban, who related it.Nawawi said, "This hadith indicates that the dominion of this nation extends mostly in the directions of the east and the west, and this is indeed what happened, while in the directions of the south and the north it is little compared to the east and the west." End of quote.