Umm Habiba bint Abu Sufyan reported,

The Prophet ﷺ said, "I was shown what my nation will face after me, and how some of them will shed the blood of others. This has already been decreed by Allah, just as it was decreed for the nations before them. So I asked Him to grant me the right of intercession for them on the Day of Resurrection, and He did so."

Azami 910

Sahih

عن أم حبيبة

عن النبي ﷺ قال: أريت ما تلقى أمتي بعدي، وسفك بعضهم دماء بعض، وسبق ذلك من الله، كما سبق على الأمم قبلهم، فسألته أن يوليني شفاعة يوم القيامة فيهم، ففعل.

الأعظمي 910صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in the intercession of the Prophet ﷺ and others
Section
Intercession of the Prophet ﷺ for everyone who said, "There is no god but Allah," and did not associate anything with Allah, even if he committed major sins and deserved the Fire
Numbering
Jami al-Kamil 910 (2nd edition)
Azami 910