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.
Sahih al-Bukhari Book 23, Hadith 75