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).
Hadith ReferenceSunan Ibn Majah / Establishing the Prayer and the Sunnah Regarding Them / Hadith: 1280