From Sahih Bukhari (Hadith 1333):
Narrated Abu Huraira:Allah's Messenger (ﷺ) informed about the news of the death of An-Najash on the day he died. He went out with us to the Musalla and we aligned in rows and he said four Takbirs for An-Najashi's funeral prayer
Reference: Bukhari 1333