This is well proven Hadith among Sunni fellows, Imam Trimdhi graded as Sahih hadith, Bukhari also wrote that the Holy said a rebellious group will kill Ammar, Ammar will invite them towards heaven but the group will invite Ammar bin Yasir towards hell. We know that Ammar bim Yasir rz got kiled foughting against Moawiya’s army.
Umme Salma narrated:
I do not forget the day of KHANDAQ when prophet gave the tiles while there was dust on his hairs and said “Oh Allah, the life after the death is better. Forgive the Muhajirin and Ansar. Ammar bin Yassar came there. The Prophet said “Oh Ammar, a group of rebellious group will martyr you.”