It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that he said: "The last takbirs that the Messenger of Allah (peace and blessings be upon him) said in the funeral prayer were four; Sayyiduna Abu Bakr (may Allah be pleased with him) said four takbirs in the funeral prayer of Sayyidah Fatimah (may Allah be pleased with her); Sayyiduna al-Hasan (may Allah be pleased with him) said four takbirs over Sayyiduna Ali (may Allah be pleased with him); Sayyiduna al-Husayn (may Allah be pleased with him) said four takbirs over Sayyiduna al-Hasan (may Allah be pleased with him); Sayyiduna Ali (may Allah be pleased with him) said four takbirs over Yazid (al-Mukaffaf); Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) said four takbirs over his father Sayyiduna Umar (may Allah be pleased with him); the angels said four takbirs over Sayyiduna Adam (peace be upon him); and Muhammad bin al-Hanafiyyah (may Allah have mercy on him) said four takbirs over Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) at al-Ta'if."
Imam al-Harith recorded this narration; however, its chain is da'if (weak) because of the weakness of Furat bin al-Sa'ib.
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that: "The Prophet (peace and blessings be upon him) led the funeral prayer of his son Sayyiduna Ibrahim (may Allah be pleased with him) and said four takbirs in it."
Imam Abu Ya'la recorded it; however, its chain contains a narrator named Muhammad bin Ubaydullah al-Fazari, who is da'if (weak). This hadith also has a supporting narration (shahid) from Sayyiduna Abu Sa'id (may Allah be pleased with him), which Imam al-Bazzar recorded with a da'if (weak) chain.
Isa, the freed slave of Sayyiduna Hudhayfah bin al-Yaman (may Allah be pleased with him), narrates: "I prayed a funeral prayer behind Sayyiduna Hudhayfah (may Allah be pleased with him), and he said five takbirs. Then, after giving the salam, he said: 'By Allah! I have neither fallen into any misapprehension nor forgotten; rather, I have said the takbirs just as my intimate friend Abu al-Qasim (peace and blessings be upon him) said them.'"
Imam Abu Bakr bin Abi Shaybah recorded it, but its chain is weak because of the weakness of the narrator named Isa. Imam Ahmad bin Hanbal recorded it through the route of Yahya al-Jabir, who said: "I prayed a funeral prayer behind Isa, the mawla of Sayyiduna Hudhayfah (may Allah be pleased with him), in al-Mada'in, and he said five takbirs. Then he turned to us and said: 'I have neither fallen into misapprehension nor forgotten; rather, I said the takbirs just as my master and benefactor Sayyiduna Hudhayfah bin al-Yaman (may Allah be pleased with him) said them. He led a funeral prayer and said five takbirs, then turned towards us and said: I have neither forgotten nor made a slip; rather, I said the takbirs just as the Messenger of Allah (peace and blessings be upon him) said five takbirs when leading a funeral prayer.'" This hadith also has a supporting narration (shahid) from Sayyiduna Zayd bin Arqam (may Allah be pleased with him), which Imam Muslim and others recorded. Imam al-Tirmidhi says that a group of the Companions (may Allah be pleased with them) and other scholars held this view, maintaining five takbirs in the funeral prayer; while Imam Ahmad and Imam Ishaq (may Allah have mercy on them both) say that if the imam says five takbirs in a funeral prayer, the follower should follow him.
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.