2-    False testimony: This is one of the enormous sins. An example is for one to testify in front of a judge that someone stole something while one knows that it did not happen.

The Prophet, sallallahu ^alayhi wa sallam, said:

عَدَلَتْ شَهَادَةُ الزُّورِ الإِشْرَاكَ بِاللهِ

^Adalat shahadatuz-zuril-ishraka billah.

Which means: “False testimony is similar to claiming that Allah has partners.” (Related by al-Bayhaqiyy.)

In this hadith the Prophet, sallallahu ^alayhi wa sallam, likened the false testimony to blasphemy, because both are serious sins. This hadith does not mean that the one who testifies falsely is no longer a Muslim. Rather, it means that such a person is a major sinner.