"The Messenger of Allah (ﷺ) asked me: 'How will you act, Abu Dharr, when you are under rulers who kill prayer or delay it (beyond its proper time) ?' I said: 'Messenger of Allah, what do you command me ?' He replied: 'Offer the prayer at its proper time, and if you say it along with them, say it, for it will be a supererogatory prayer for you.'"
Sunan Abi Dawud Book 2, Hadith 41