The Book of the Times (of Prayer)
6/47. Chapter:
Combining Two Prayers While A Resident
Sunan an-Nasai
أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ الأَعْلَى، قَالَ حَدَّثَنَا خَالِدٌ، قَالَ حَدَّثَنَا ابْنُ جُرَيْجٍ، عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ أَبِي الشَّعْثَاءِ، عَنِ ابْنِ عَبَّاسٍ، قَالَ صَلَّيْتُ وَرَاءَ رَسُولِ اللَّهِ صلى الله عليه وسلم ثَمَانِيًا جَمِيعًا وَسَبْعًا جَمِيعًا .
It was narrated that Ibn 'Abbas said: "I prayed behind the Messenger of Allah (ﷺ) eight (Rak'ahs) together and seven (Rak'ahs) together."
Reference : Sunan an-Nasa'i 603In-book reference : Book 6, Hadith 110English translation : Vol. 1, Book 6, Hadith 604