It is narrated from Jabir bin Abdullah (may Allah be pleased with them both): "Seven and five takbirs are to be said in the two Eids, with the remembrance of Allah between every two takbirs; this way is the Sunnah."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب صلاة العيدين / 6187