Anas bin Malik reported,

The Prophet ﷺ announced the deaths of Zayd, Jafar, and Ibn Rawahah to the people before any news of them had reached them. He said, with tears flowing from his eyes, "Zayd took the banner and was struck down, then Jafar took it and was struck down, then Ibn Rawahah took it and was struck down, until one of the swords of Allah took it up, and Allah granted them victory."

Azami 10178

Sahih

عن أنس

أن النبي ﷺ نعى زيدا وجعفرا وابن رواحة للناس قبل أن يأتيهم خبرهم، فقال: أخذ الراية زيد فأصيب، ثم أخذ جعفر فأصيب، ثم أخذ ابن رواحة فأصيب، - وعيناه تذرفان- حتى أخذها سيف من سيوف الله، حتى فتح الله عليهم.

الأعظمي 10178صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the Companions and reports about them
Chapter
Virtues of individual Companions and their reports
Section
Virtue of Khalid bin Walid and his reports
Numbering
Jami al-Kamil 10178 (2nd edition)
Azami 10178