Abdullah bin Muhammad and Umar bin Hafs narrate from their forefathers that the Messenger of Allah (peace and blessings be upon him), in the first rak'ah of the two Eids, "would say seven takbirs, and in the second rak'ah five takbirs; these were before the recitation, and he (peace and blessings be upon him) would come and go on foot."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة العيدين / 6178