Sunan an-Nasa'i, Book 6, Hadith 596 (In-Book)

It was narrated that Ibn 'Abbas said: "I prayed with the Prophet in Al-Madinah, eight together and seven together. He delayed Zuhr and brought 'Asr forward, and he delayed Maghrib and brought 'Isha' forward."

أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرٍو، عَنْ جَابِرِ بْنِ زَيْدٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ صَلَّيْتُ مَعَ النَّبِيِّ صلى الله عليه وسلم بِالْمَدِينَةِ ثَمَانِيًا جَمِيعًا وَسَبْعًا جَمِيعًا أَخَّرَ الظُّهْرَ وَعَجَّلَ الْعَصْرَ وَأَخَّرَ الْمَغْرِبَ وَعَجَّلَ الْعِشَاءَ ‏.‏

sunnah.com