Sahih al-Bukhari #1318
Funerals (Al-Janaa'iz) 23:76
Narrated Abu Huraira:
The Prophet (p.b.u.h) informed his companions about the death of An-Najashi and then he went ahead (to lead the prayer) and the people lined up behind him in rows and he said four Takbir.