[Machine] Anas was asked about the major sins, so the Messenger of Allah ﷺ said: "Associating partners with Allah, disobedience to parents, killing a soul, bearing false witness." He also said: "And speaking falsehood." They both reported this in Sahih (authentic) from the hadith of Shu'bah.
عَنْ أَنَسٍ سُئِلَ رَسُولُ اللهِ ﷺ عَنِ الْكَبَائِرِ فَقَالَ الْإِشْرَاكُ بِاللهِ وَعُقُوقُ الْوَالِدَيْنِ وَقَتْلُ النَّفْسِ وَشَهَادَةُ الزُّورِ أَوْ قَالَ وَقَوْلُ الزُّورِ أَخْرَجَاهُ فِي الصَّحِيحِ مِنْ حَدِيثِ شُعْبَةَ