Sunan Ibn Majah, Book 5, Hadith 478 (Ibn Majah 1280)

It was narrated from ‘Aishah that the Messenger of Allah (ﷺ) said the Takbir seven and five times in (the prayer for ‘Eid) Fitr and Adha, apart from the Takbir for Ruku’ (bowing).