The Prophet ﷺ... and Ishaq bin Ibrahim informed us, saying Nadr bin Shumayl reported to us, saying Shuba narrated to us from Ubaydullah bin Abu Bakr, who said, I heard Anas say, the Messenger of Allah ﷺ said, "The major sins are associating partners with Allah, disobedience to parents, taking a life, and bearing false witness."
أخبرنا محمد بن عبد الأعلى قال حدثنا خالد قال حدثنا شعبة عن عبيد الله بن أبي بكر
عن النبي ﷺ ح وأنبأنا إسحق بن إبراهيم قال أنبأنا النضر بن شميل قال حدثنا شعبة عن عبيد الله بن أبي بكر قال سمعت أنسا يقول قال رسول الله ﷺ الكبائر الشرك بالله وعقوق الوالدين وقتل النفس وقول الزور
Muslim narrated it, in the chapter on Iman, the chapter on major sins and the greatest of them, hadith 88, from the hadith of Khalid bin Harith, and Bukhari narrated it, in the chapter on Testimonies, the chapter on what has been said regarding false testimony, hadith 2653, from the hadith of Shubah, through him, and it is in Sunan al-Kubra, hadith 3473.