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:6947Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Asīd b. ʿĀṣim > al-Ḥusayn b. Ḥafṣ > Sufyān > ʿĀmir b. Shaqīq al-Asadī > Abū Wāʾil > Kānūā Yukabbirūn

[Machine] They used to say takbeer (saying "Allahu Akbar") seven, five, and six times during the time of the Messenger of Allah ﷺ or they said four times. Umar ibn al-Khattab then gathered the companions of the Messenger of Allah ﷺ and each man informed them of what he had seen. Umar then gathered them together for the funeral prayer and they said four takbeers as long as the prayer. This was narrated by Waki' from Sufyan who said it was four instead of six. And in the narration of Waki' from Mis'ar, from Abdul Malik ibn Iyas ash-Shaybani, from Ibrahim who said: The companions of the Messenger of Allah ﷺ gathered in the house of Abu Mas'ood al-Ansari and they agreed that there should be four takbeers for the funeral prayer.  

البيهقي:٦٩٤٧أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا أَسِيدُ بْنُ عَاصِمٍ ثنا الْحُسَيْنُ بْنُ حَفْصٍ عَنْ سُفْيَانَ قَالَ حَدَّثَنِي عَامِرُ بْنُ شَقِيقٍ الْأَسَدِيُّ عَنْ أَبِي وَائِلٍ قَالَ

كَانُوا يُكَبِّرُونَ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ سَبْعًا وَخَمْسًا وَسِتًّا أَوْ قَالَ أَرْبَعًا فَجَمَعَ عُمَرُ بْنُ الْخَطَّابِ ؓ أَصْحَابَ رَسُولِ اللهِ ﷺ فَأَخْبَرَ كُلُّ رَجُلٍ بِمَا رَأَى فَجَمَعَهُمْ عُمَرُ ؓ عَلَى أَرْبَعِ تَكْبِيرَاتٍ كَأَطْوَلِ الصَّلَاةِ وَرَوَاهُ وَكِيعٌ عَنْ سُفْيَانَ فَقَالَ أَرْبَعًا مَكَانَ سِتًّا وَفِيمَا رَوَى وَكِيعٌ عَنْ مِسْعَرٍ عَنْ عَبْدِ الْمَلِكِ بْنِ إِيَاسٍ الشَّيْبَانِيِّ عَنْ إِبْرَاهِيمَ قَالَ اجْتَمَعَ أَصْحَابُ رَسُولِ اللهِ ﷺ فِي بَيْتِ أَبِي مَسْعُودٍ الْأَنْصَارِيِّ فَأَجْمَعُوا أَنَّ التَّكْبِيرَ عَلَى الْجِنَازَةِ أَرْبَعٌ