While the Prophet ﷺ was saying something in a gathering, a Bedouin came and asked him, "When would the Hour (Doomsday) take place?" Messenger of Allah ﷺ continued his talk, so some people said that Messenger of Allah ﷺ had heard the question, but did not like what that Bedouin had asked. Some of them said that Messenger of Allah ﷺ had not heard it. When the Prophet ﷺ finished his speech, he said, "Where is the questioner, who inquired about the Hour (Doomsday)?" The Bedouin said, "I am here, O Allah's Apostle ." Then the Prophet ﷺ said, "When honesty is lost, then wait for the Hour (Doomsday)." The Bedouin said, "How will that be lost?" The Prophet ﷺ said, "When the power or authority comes in the hands of unfit persons, then wait for the Hour (Doomsday.)" (Using translation from Bukhārī 59)
بَيْنَمَا النَّبِيُّ ﷺ جَالِسٌ فِي مَجْلِسِهِ يُحَدِّثُ الْقَوْمَ حَدِيثًا جَاءَهُ أَعْرَابِيٌّ فَقَالَ يَا رَسُولَ اللهِ مَتَى السَّاعَةُ؟ وَمَضَى رَسُولُ اللهِ ﷺ يُحَدِّثُ فَقَالَ بَعْضُ الْقَوْمِ سَمِعَ مَا قَالَ فَكَرِهَ مَا قَالَ وَقَالَ بَعْضٌ لَمْ يَسْمَعْ حَتَّى إِذَا قَضَى حَدِيثَهُ قَالَ أَيْنَ السَّائِلُ عَنِ السَّاعَةِ؟ قَالَ هَذَا أَنَا يَا رَسُولَ اللهِ قَالَ إِذَا ضُيِّعَتِ الْأَمَانَةُ فَانْتَظِرِ السَّاعَةَ قَالُوا يَا رَسُولَ اللهِ مَا إِضَاعَتُهَا؟ قَالَ إِذَا أُسْنِدُ الْأَمْرُ إِلَى غَيْرِ أَهْلِهِ فَانْتَظِرِ السَّاعَةَ