The muezzin of the Messenger of Allah ﷺ reported, my father told me from his father from his grandfather that the Messenger of Allah ﷺ used to say the takbir during the two Eid prayers seven times in the first rakah before the recitation, and five times in the second rakah before the recitation.
حدثنا هشام بن عمار حدثنا
مؤذن رسول الله ﷺ حدثني أبي عن أبيه عن جده أن رسول الله ﷺ كان يكبر في العيدين في الأولى سبعا قبل القراءة وفي الآخرة خمسا قبل القراءة