Anas bin Malik reported,

The Prophet ﷺ mentioned the major sins.In another chain, Amr, who is Ibn Marzuq, narrated to us, Shuba narrated to us, from Ibn Abu Bakr, from Anas bin Malik, that the Prophet ﷺ said, "The greatest of the major sins are associating partners with Allah, killing a soul, disobedience to parents, and speaking falsehood," or he said, "and giving false testimony."

Bukhari 6871

Sahih

حدثنا إسحاق بن منصور حدثنا عبد الصمد حدثنا شعبة حدثنا عبيد الله بن أبي بكر سمع

أنس بن مالك رضي الله عنه

عن النبي ﷺ قال الكبائر ح و حدثنا عمرو وهو ابن مرزوق حدثنا شعبة عن ابن أبي بكر عن أنس بن مالك عن النبي ﷺ قال أكبر الكبائر الإشراك بالله وقتل النفس وعقوق الوالدين وقول الزور أو قال وشهادة الزور

البخاري 6871صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Blood money
Chapter
His saying, "And whoever saves one"
Numbering
Darussalam 6871
Bukhari 6871