I heard the Messenger of Allah (ﷺ) say: One of the signs of the Last Hour will be that people in a mosque will refuse to act as imam and will not find an imam to lead them in prayer.
Sunan Abi Dawud Book 2, Hadith 191