كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
(41)
Chapter: It is disliked to delay the prayers beyond their proper times, and what a person should do if the Imam delays the prayer
(41)
باب كَرَاهِيَةِ تَأْخِيرِ الصَّلاَةِ عَنْ وَقْتِهَا الْمُخْتَارِ وَمَا يَفْعَلُهُ الْمَأْمُومُ إِذَا أَخَّرَهَا الإِمَامُ
Sahih Muslim 648 f

Abu Dharr reported:

(The Messenger of Allah) said: How would you, or how would thou, act if you survive to live among people who defer prayer beyond the (prescribed) time? (The narrator said: Allah and His Messenger know best). whereupon he said: Observe prayer at its prescribed time, but if the Iqama is pronounced for (congregational) prayer, then observe prayer along with them. for herein is an excess of virtue.
وَحَدَّثَنَا عَاصِمُ بْنُ النَّضْرِ التَّيْمِيُّ، حَدَّثَنَا خَالِدُ بْنُ الْحَارِثِ، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي نَعَامَةَ، عَنْ عَبْدِ اللَّهِ بْنِ الصَّامِتِ، عَنْ أَبِي ذَرٍّ، قَالَ قَالَ ‏ "‏ كَيْفَ أَنْتُمْ - أَوْ قَالَ كَيْفَ أَنْتَ - إِذَا بَقِيتَ فِي قَوْمٍ يُؤَخِّرُونَ الصَّلاَةَ عَنْ وَقْتِهَا فَصَلِّ الصَّلاَةَ لِوَقْتِهَا ثُمَّ إِنْ أُقِيمَتِ الصَّلاَةُ فَصَلِّ مَعَهُمْ فَإِنَّهَا زِيَادَةُ خَيْرٍ ‏"‏ ‏.‏
Reference : Sahih Muslim 648f
In-book reference : Book 5, Hadith 303
USC-MSA web (English) reference : Book 4, Hadith 1358
  (deprecated numbering scheme)