Zayd bin Arqam performed the funeral prayer over a deceased person and pronounced the takbir five times. He said, "The Messenger of Allah ﷺ used to pronounce it five times."
أخبرنا عمرو بن علي قال حدثنا يحيى قال حدثنا شعبة قال حدثني عمرو بن مرة
أن زيد بن أرقم صلى على جنازة فكبر عليها خمسا وقال كبرها رسول الله ﷺ