Hadith 6:637
Hushaym narrated to us, he said: Mughira informed us, from Ibrahim, from Ibn Mas'ud, who said: We used to say the takbir over the deceased five and six times, then we agreed upon four takbirs.
حدثنا هشيم قال أخبرنا مغيرة عن إبراهيم عن بن مسعود قال كنا نكبر على الميت خمسا وستا ثم اجتمعنا على اربع تكبيرات