Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) says: The Prophet (peace and blessings be upon him) (when leading funeral prayers) said seven takbirs over the people of Badr and five takbirs over Banu Hashim, and in the last funeral prayer he led he said four takbirs, until he departed from this world.
Al-Tabarani recorded it in al-Mu'jam al-Kabir. Its chain contains Nafi' Abu Hurmuz, who is da'if (weak).
(Allamah al-Haythami says:) I say: In the chapter on the funeral prayer in absentia a hadith will come stating that the Prophet (peace and blessings be upon him) said five takbirs in the funeral prayer of the Negus (al-Najashi).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجنائز / 4178
Hadith Gradingمحدثین:إسناده ضعیف
Hadith Takhrij«اخرجه الطبراني فى المعجم الكبير (11362) ، أخرجه المعجم الكبير للطبراني برقم: 11362»