…The man said: “Messenger of Allah! When is the Final Hour?” The Prophet replied [صلى الله عليه وسلم]: “The one who is questioned about it is no more informed at all than the questioner. However, I shall tell you about its preconditions (ashrāṭihā). When the slave girl gives birth to her master – that is one of its preconditions. And when the naked and barefoot are the top leaders of the people – that is one of its preconditions. And when the shepherds compete in building tall structures – that is one of its preconditions. [It is] among five things none knows but Allah.” [Ṣaḥīḥ Muslim]
“are the top leaders of the people” This means the kings of the earth as explicitly stated in al-Isma‘īlī’s and Abū Farwa’s narrations. Those meant are the people of the desert, as explicitly stated in Sulayman al-Taymī’s and other narrations: “Who are the barefoot and naked?” He replied: “The little Arabs (al-‘urayb).”
Al-Ṭabaranī narrates through Abū Hamza, from Ibn ‘Abbās, from the Prophet [صلى الله عليه وسلم]: “Part of the overthrow (inqilāb) of the Religion is the affectation of eloquence by the boors (al-nabaṭ) and their betaking to palaces in big cities.” Al-Qurṭubī said: “What is meant here is the prediction of a reversal in society whereby the people of the desert will take over and hold sway over every region by force. They will become very rich and their primary concern will be to erect tall buildings and take pride in them. We have witnessed this in our time.” Of identical import are the ḥadīths “The Hour will not rise until the happiest man in the world will be the depraved son of a depraved father (luka‘ ibn luka‘)” and “If leadership is entrusted to those unfit for it, expect the Hour,” both of them in the Ṣaḥīḥ.
[Imām Ibn Ḥajar al-‘Asqalānī, فتح الباري شرح صحيح البخاري (Fatḥ al-Bārī Sharḥ Ṣaḥīḥ al-Bukhārī). English translation of excerpts in Sunna Notes Volume 3, Studies in Ḥadīth and Doctrine: The Binding Proof of the Sunna by Shaykh Gibril Fouad Haddad, AQSA Publications, UK, 2010, pp. 159-160, 196]