The Prophet ﷺ said, "My intercession is for those of my nation who commit major sins."
عن النبي ﷺ قال: شفاعتي لأهل الكبائر من أمتي.
Narrated by Abu Dawud (4739), Tirmidhi (2435), Ahmad (13222), Ibn Khuzayma in Tawhid (527), Ibn Hibban (6468), and Hakim (1/69), all of them through various routes from Anas bin Malik, who mentioned it. Its isnad is sahih. Tirmidhi said, "Hasan sahih gharib." And Hakim said, "Sahih according to the criteria of the two Shaykhs."