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, "False speech," or he said, "False testimony."Shuba said, "My strongest impression is that he said, 'False testimony.'"

Azami 14042

Sahih

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

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

الأعظمي 14042صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Righteousness and maintaining ties
Section
Disobedience to parents is among the major sins
Numbering
Jami al-Kamil 14042 (2nd edition)
Azami 14042