"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.'"
لِي رَسُولُ اللَّهِ ﷺ يَا أَبَا ذَرٍّ كَيْفَ أَنْتَ إِذَا كَانَتْ عَلَيْكَ أُمَرَاءُ يُمِيتُونَ الصَّلاَةَ أَوْ قَالَ يُؤَخِّرُونَ الصَّلاَةَ قُلْتُ يَا رَسُولَ اللَّهِ فَمَا تَأْمُرُنِي قَالَ صَلِّ الصَّلاَةَ لِوَقْتِهَا فَإِنْ أَدْرَكْتَهَا مَعَهُمْ فَصَلِّهَا فَإِنَّهَا لَكَ نَافِلَةٌ