It is narrated from Nafi’, the freed slave of Ibn Umar (may Allah be pleased with him), that he said: I attended the Eid al-Adha and Eid al-Fitr prayers with Abu Hurairah (may Allah be pleased with him), and he said seven takbirs before the recitation in the first rak’ah and five takbirs before the recitation in the second rak’ah.
Hadith Referenceمسند الإمام الشافعي / كتاب العيدين والأضاحي والاستسقاء / 488
Hadith Takhrijاسنادہ صحیح، اخرجـہ البیہقی فی معرفۃ السنن والآثار (1900) ۔ وابن ابی شیبۃ (5703) ، وعبد الرزاق (5680)، (5682)۔