In the name of Allah, Most Gracious, Most Merciful.
Abu Bakrah (May Allah be pleased with him) reported: The Messenger of Allah (SAWS) said, “Shall I not inform you of one of the gravest of the cardinal sins?’ We said: “Yes, O Messenger of Allah!’ The Prophet (SAWS) said, “To join others as partners with Allah in worship and to be undutiful to one’s parents.’ The Messenger of Allah (SAWS) sat up from his reclining position (in order to stress the importance of what he was going to say) and added, “I warn you making a false statement and giving a false testimony. I warn you against making a false statement and giving a false testimony.’ The Messenger of Allah (SAWS) kept on repeating this (warning) till we wished he should stop. (Al-Bukhari and Muslim)
Commentary: The contents of this Hadith make the gravity of making a false statement abundantly clear. How unfortunate indeed it is that, like other major sins, the evil of giving false testimony is very common among the present-day Muslims. May Allah prevent us from it.
SAWS: May Allah exalt his mention and protect him from imperfection
Riyaadiss-Saliheen (The Meadows of the Righteous)
By Imam An Nawawi
Chapiter 263, Page 447, No 1550