Narrated by Abu Huraira(may Allah be please with him):

While Prophet(SAW) was saying something in a gathering, a bedouin came and asked him,”When would the Hour(Doomsday) take place?” Allah’s Messenger(SAW) continued his talk, so some people said that Allah’s Messenger (SAW) did not like what the bedouin had asked. Some of them said that Allah’s Messenger (SAW) had not heard it. When the Prophet(Peace be upon him) finished his speech, he said,” Where’s the questioner, who enquired about the Hour?”

The bedouin said,”I am here, O Allah’s Messenger”.

Then the Prophet (SAW) said,” When Al-Amanah (i.e. the trust or the moral responsibility or honesty and all duties which Allah has ordained) is lost, then wait for the Hour.”

The bedouin said,”How will that be lost?”

The Propher (peace be upon him) replied,” When the power or authority comes in the hands of unfit persons, then wait for the Hour(Doomsday).”