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).
أَنَّ رَسُولَ اللَّهِ ﷺ كَبَّرَ فِي الْفِطْرِ وَالأَضْحَى سَبْعًا وَخَمْسًا سِوَى تَكْبِيرَتَىِ الرُّكُوعِ