It is narrated from Sayyiduna Abu Sa'id and Sayyiduna Abu Hurayrah (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "A time will certainly come upon the people in which foolish and senseless rulers will be over you. They will bring forward the worst of people (to positions) and push back the best of them, and they will delay the prayers from their appointed times. So whoever of you reaches that era, let him never become (their) overseer, policeman, tax collector or treasurer." Imam Abu Ya'la al-Mawsili in his Musnad and Imam Ibn Hibban in his Sahih have narrated this hadith with the same chain.