It is narrated from Sayyiduna Abu Dharr (may Allah be pleased with him) that: "The Messenger of Allah (peace and blessings be upon him) said five takbirs while leading a funeral prayer."
Imam Abu Ya'la recorded it with a da'if (weak) chain, the reason being the weakness of its narrator Ali bin al-Hazwar.