It is narrated from Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him): We were with the Messenger of Allah (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Soon there will be rulers who will delay the prayer from its time, so you should offer the prayer at its time." A man said: "Then should we (also) pray with them?" The Prophet (peace and blessings be upon him) said: "Yes."
Imam Ahmad (may Allah have mercy on him) narrated this hadith through Hajjaj from Shu'bah.
Also through Ya'mar bin Bishr from Abdullah bin al-Mubarak, and from Waki'; both of them (Abdullah bin al-Mubarak and Waki') narrated it from Sufyan. Ubadah (may Allah be pleased with him) is not mentioned in the narration of Abdullah bin al-Mubarak, nor in the narration of Muhammad bin Ja'far.
And Imam Abu Dawud (may Allah have mercy on him) narrated it through Muhammad bin Sulayman al-Anbari from Waki'.
Also through Muhammad bin Qudamah from Jarir, from Mansur, from Hilal, from Abu al-Muthanna, from the sister's son of Sayyiduna Ubadah (may Allah be pleased with him); that is how he said it.
And Imam Ibn Majah (may Allah have mercy on him) narrated it from Muhammad bin Bashshar.
We have recorded the narration of Abdullah bin Muhammad bin Sa'id only by way of i'tibar (support).