Jami` at-Tirmidhi 176
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
يَا أَبَا ذَرٍّ أُمَرَاءُ يَكُونُونَ بَعْدِي يُمِيتُونَ الصَّلاَةَ فَصَلِّ الصَّلاَةَ لِوَقْتِهَا فَإِنْ صُلِّيَتْ لِوَقْتِهَا كَانَتْ لَكَ نَافِلَةً وَإِلاَّ كُنْتَ قَدْ أَحْرَزْتَ صَلاَتَكَ "
Abu Dharr narrated that :
the Prophet said: "O Abu Dharr! There will be leaders after me who cause the Salat to die; so perform the Salat during its time. If you pray (with them) during its time, then that will be voluntary Salat for you, if not, then you will have attained your Salat."
Full reference and source
Jami` at-Tirmidhi 176 In-book : Book 2, Hadith 28 English translation : Vol. 1, Book 2, Hadith 176
View source on Sunnah.com (opens in a new tab)