Abu Hurairah reported,

While the Prophet ﷺ was in a gathering speaking to the people, an Arabi came and asked, "When is the Hour?"The Messenger of Allah ﷺ continued speaking. Some of the people said, "He heard what the man said but disliked what he said." Others said, "Rather, he did not hear him."When he finished what he was saying, he asked, "Where is the one who asked about the Hour?"The man said, "Here I am, Messenger of Allah."He said, "When trust is lost, then await the Hour."The man asked, "How is it lost?"He replied, "When authority is entrusted to those unfit for it, then await the Hour."

Bukhari 59

Sahih

حدثنا محمد بن سنان قال حدثنا فليح ح و حدثني إبراهيم بن المنذر قال حدثنا محمد بن فليح قال حدثني أبي قال حدثني هلال بن علي عن عطاء بن يسار

عن أبي هريرة قال

بينما النبي ﷺ في مجلس يحدث القوم جاءه أعرابي فقال متى الساعة فمضى رسول الله ﷺ يحدث فقال بعض القوم سمع ما قال فكره ما قال وقال بعضهم بل لم يسمع حتى إذا قضى حديثه قال أين أراه السائل عن الساعة قال ها أنا يا رسول الله قال فإذا ضيعت الأمانة فانتظر الساعة قال كيف إضاعتها قال إذا وسد الأمر إلى غير أهله فانتظر الساعة

البخاري 59صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
One who is asked about knowledge while engaged in his speech, so he completes his speech then answers the questioner
Numbering
Darussalam 59
Bukhari 59