Sunan an-Nasa'i, Book 6, Hadith 110 (Nasa'i 605)

It was narrated that Ibn 'Abbas said:

"I prayed behind the Messenger of Allah (ﷺ) eight (Rak'ahs) together and seven (Rak'ahs) together."