Sahih al-Bukhari, Book 81, Hadith 85 (Bukhari 6257)

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "When honesty is lost, then wait for the Hour." It was asked, "How will honesty be lost, O Allah's Messenger (ﷺ)?" He said, "When authority is given to those who do not deserve it, then wait for the Hour."