It is narrated from Abu Huraira (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said four takbirs over Najashi (at his funeral prayer).
Hadith Referenceمسند الإمام الشافعي / كتاب الجنائز / 598
Hadith Takhrijاخرجه البخاري، الجنائز، باب الرجل ينعى إلى اهل الميت بنفسه (1245) ۔ ومسلم، الجنائز، باب في التكبير على الجنازة (951)۔