Sunan Ibn Majah, Book 6, Hadith 73 (Ibn Majah 1505)

It was narrated that ‘Abdur-Rahman bin Abi Laila said:

“Zaid bin Arqan used to say the Takbir four times in the funeral prayer, and he said the Takbir five times for one funeral. I asked him (about that) and he said: ‘The Messenger of Allah (ﷺ) used to do that.’”