Sahih al-Bukhari 59: Trials and Signs of the Latter Days
Hazrat Abu Hurairah (ra) related that once the Prophet (saw) was sitting in a gathering talking to people when a Bedouin came to him (saw) and asked: “When will the promised Hour be?” The Messenger of Allah (saw) continued with what he was saying. At this some of the people said: “He (saw) heard what he said, but he (saw) disliked what he said.” And some of them said: “No, he did not hear.” At last, when he (saw) had finished speaking, he said: “Where is,” (the narrator says:) I think (he (saw) said it thus:) “the one who asked about the promised Hour?” He said: “O Messenger of Allah (saw)! Here I am.” He said: “When trust is lost, then wait for the promised Hour.” He asked: “How will it be lost?” He said: “When government is entrusted to those unfit for it, then wait for that Hour.”
AI-translated by Islam-Today