Anas bin Malik reported,

The Messenger of Allah ﷺ mentioned the major sins, or he was asked about the major sins, and he said, "Associating partners with Allah, killing a soul, and disobedience to parents."Then he said, "Shall I not inform you of the greatest of the major sins?"He said, "Speaking falsehood," or he said, "Bearing false witness."Shuba said, "My strongest impression is that he said, 'Bearing false witness.'"

Muslim 261

Sahih

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

أنس بن مالك قال

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

مسلم 261صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Explanation of major sins and the greatest of them
Numbering
Darussalam 261
Muslim 261