It was narrated that Ibn 'Abbas said:
"I prayed behind the Messenger of Allah (ﷺ) eight (Rak'ahs) together and seven (Rak'ahs) together."