Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:6179Abū al-Ḥasan b. Bishrān> Ismāʿīl b. Muḥammad al-Ṣaffār > ʿAbd al-Karīm b. al-Haytham > Abū al-Yamān > Shuʿayb b. Abū Ḥamzah

[Machine] I witnessed Eid Al-Adha and Eid Al-Fitr with Abu Hurayrah. He performed the takbeer (saying "Allahu Akbar") seven times before the first rakah, and five times before the second rakah, before reciting the Quran. This is according to the narration of Malik and Shu'ayb, with some additional details. Marwan appointed him as its governor in Madinah.  

البيهقي:٦١٧٩أَخْبَرَنَا أَبُو الْحَسَنِ بْنُ بِشْرَانَ بِبَغْدَادَ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا عَبْدُ الْكَرِيمِ بْنُ الْهَيْثَمِ ثنا أَبُو الْيَمَانِ أَخْبَرَنِي شُعَيْبُ بْنُ أَبِي حَمْزَةَ قَالَ قَالَ نَافِعٌ كَانَ أَبُو هُرَيْرَةَ ح وَأَخْبَرَنَا أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ الْمُزَكِّي فِي آخَرِينَ قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ مَالِكٌ عَنْ نَافِعٍ مَوْلَى ابْنِ عُمَرَ قَالَ

شَهِدْتُ الْأَضْحَى وَالْفِطْرَ مَعَ أَبِي هُرَيْرَةَ فَكَبَّرَ فِي الرَّكْعَةِ الْأُولَى سَبْعَ تَكْبِيرَاتٍ قَبْلَ الْقِرَاءَةِ وَفِي الْآخِرَةِ خَمْسَ تَكْبِيرَاتٍ قَبْلَ الْقِرَاءَةِ لَفْظُ حَدِيثِ مَالِكٍ وَحَدِيثُ شُعَيْبٍ بِمَعْنَاهُ وَزَادَ فِي رِوَايَتِهِ وَهِيَ السُّنَّةُ وَزَادَ فِي أَوَّلِهِ اسْتَخْلَفَ مَرْوَانُ إِيَّاهُ عَلَى الْمَدِينَةِ