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.
tabarani:11661Muḥammad b. ʿUthmān b. Abū Shaybah > ʿUqbah b. Mukram > Yūnus b. Bukayr > al-Naḍr Abū ʿUmar > ʿIkrimah > Ibn ʿAbbās

[Machine] The last funeral prayer the Prophet ﷺ performed, he recited the takbir (Allahu Akbar) four times.  

الطبراني:١١٦٦١حَدَّثَنَا مُحَمَّدُ بْنُ عُثْمَانَ بْنِ أَبِي شَيْبَةَ ثنا عُقْبَةُ بْنُ مُكْرَمٍ أَنَا يُونُسُ بْنُ بُكَيْرٍ عَنِ النَّضْرِ أَبِي عُمَرَ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

«آخِرُ جَنَازَةٍ صَلَّى عَلَيْهَا النَّبِيُّ ﷺ كَبَّرَ عَلَيْهَا أَرْبَعًا»  


See similar narrations below:

Collected by Ibn Ḥibbān, Suyūṭī

ذِكْرُ وَصْفِ اسْمِ هَذَا الْمُتَوَفَّى الَّذِي صَلَّى عَلَيْهِ ﷺ بِالْمَدِينَةِ وَهُوَ فِي بَلَدِهِ

ibnhibban:3100Zakariyyā b. Yaḥyá al-Sājī Bi-al-Baṣrah > Muḥammad b. Bashhār > Abū Dāwud al-Ṭayālisī > Sufyān al-Thawrī > ʿUbaydullāh b. ʿUmar > al-Zuhrī > Saʿīd b. al-Musayyib > Abū Hurayrah

It was narrated from Ibn ‘Umar that the Prophet ﷺ offered the funeral prayer for Najashi and said four Takbir. (Using translation from Ibn Mājah 1538)   

ابن حبّان:٣١٠٠أَخْبَرَنَا زَكَرِيَّا بْنُ يَحْيَى السَّاجِيُّ بِالْبَصْرَةِ قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا أَبُو دَاوُدَ الطَّيَالِسِيُّ قَالَ حَدَّثَنَا سُفْيَانُ الثَّوْرِيِّ عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ عَنِ الزُّهْرِيِّ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ النَّبِيَّ ﷺ «صَلَّى عَلَى النَّجَاشِيِّ وَكَبَّرَ عَلَيْهِ أَرْبَعًا»