Sahih Muslim 88 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنَا مُحَمَّدُ بْنُ الْوَلِيدِ بْنِ عَبْدِ الْحَمِيدِ، حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، قَالَ حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ أَبِي بَكْرٍ، قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ، قَالَ ذَكَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم الْكَبَائِرَ - أَوْ سُئِلَ عَنِ الْكَبَائِرِ - فَقَالَ الشِّرْكُ بِاللَّهِ وَقَتْلُ النَّفْسِ وَعُقُوقُ الْوَالِدَيْنِ " . وَقَالَ " أَلاَ أُنَبِّئُكُمْ بِأَكْبَرِ الْكَبَائِرِ " . قَالَ " قَوْلُ الزُّورِ " . أَوْ قَالَ " شَهَادَةُ الزُّورِ " . قَالَ شُعْبَةُ وَأَكْبَرُ ظَنِّي أَنَّهُ شَهَادَةُ الزُّورِ ."
Ubaidullah b. Abu Bakr said:
I heard Anas b. Malik saying: The Messenger of Allah (ﷺ) talked about the major sins, or he was asked about the major sins. Upon this he observed: Associating anyone with Allah, killing of a person, disobedience to parents. He (the Prophet further) said: Should I not inform you about the gravest of the major sins, and (in this connection) observed: False utterance or false testimony. Shu'ba said. It was most probably" false testimony".
Full reference and source
Sahih Muslim 88 b In-book : Book 1, Hadith 167 USC-MSA web (English) : Book 1, Hadith 160 (deprecated)
View source on Sunnah.com (opens in a new tab)