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).
حَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي ابْنُ لَهِيعَةَ، عَنْ خَالِدِ بْنِ يَزِيدَ، وَعُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ كَبَّرَ فِي الْفِطْرِ وَالأَضْحَى سَبْعًا وَخَمْسًا سِوَى تَكْبِيرَتَىِ الرُّكُوعِ .
IbnMaja
Establishing the Prayer and the Sunnah Regarding Them • Hadith 1280