It is narrated from Sayyiduna Amir bin Rabi'ah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Soon after me there will be rulers who will offer the prayers outside their (preferred) time and delay them from their appointed time. So pray with them. If they offer it on time and you pray it with them, its reward is for you and for them; and if they offer it out of its time and you pray it with them, its reward will be for you and its burden will be upon them. Whoever separates from the Jama'ah dies a death of Jahiliyyah, and whoever breaks the covenant (of allegiance to the ruler) and dies in a state of breaking the covenant will come on the Day of Resurrection with no argument (in his defence)."
Likewise, Yahya bin Sa'id (may Allah have mercy on him) narrated this report from Ibn Jurayj (may Allah have mercy on him),
and Musa bin Hayyan al-Basri (may Allah have mercy on him) narrated it from Ibn Jurayj (may Allah have mercy on him) through al-Dahhak bin Makhlad (may Allah have mercy on him).
Imam al-Busiri says that this chain is da'if (weak) because of the weakness of Asim bin Ubaydullah.