Sayyiduna Amr bin Awf (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) used to say seven takbirs before the recitation in the first rak'ah of both Eids, and five takbirs before the recitation in the second rak'ah.