صحيح مسلم
Sahih Muslim
كتاب الإيمان
The Book of Faith
باب الدَّلِيلِ عَلَى أَنَّ مَنْ رَضِيَ بِاللَّهِ رَبًّا وَبِالْإِسْلَامِ دِينًا وَبِمُحَمَّدٍ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَسُولًا فَهُوَ مُؤْمِنٌ وَإِنْ ارْتَكَبَ الْمَعَاصِيَ الْكَبَائِرَ
Chapter: Evidence that the one who is content with Allah as his Lord, Islam as his religion and Muhammad (saws) as his prophet, then he is a believer, even if he commits major sins
1 hadith
Hadith 34
It is narrated on the authority of 'Abbas bin 'Abdul-Muttalib that he heard the Messenger of Allah (ﷺ) saying: He relished the flavor of faith (Iman) who became the book of faith pleased with Allah as Lord, with al-Islam as the code of life and with Muhammad as the Messenger (of Allah).