Abu Qatada reported,

The Messenger of Allah ﷺ, while Ammar was digging the trench, began to wipe his head and said, "Alas for the son of Sumayy! A rebellious faction will kill you."

Azami 15806

Sahih

عن أبي قتادة الأنصاري

أن رسول الله ﷺ قال لعمار حين جعل يحفر الخندق وجعل يمسح رأسه ويقول: بؤس ابن سمية تقتلك فئة باغية.

الأعظمي 15806صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tribulations and signs of the Hour
Chapter
Tribulations
Section
Prophet ﷺ informing that Ammar would be killed by the transgressing group
Numbering
Jami al-Kamil 15806 (2nd edition)
Azami 15806