Surah An-Nisaa

4:112

وَمَن يَكْسِبْ خَطِيٓـَٔةً أَوْ إِثْمًۭا ثُمَّ يَرْمِ بِهِۦ بَرِيٓـًۭٔا فَقَدِ ٱحْتَمَلَ بُهْتَٰنًۭا وَإِثْمًۭا مُّبِينًۭا

But whoever earns an offense or a sin and then blames it on an innocent [person] has taken upon himself a slander and manifest sin.

Tafsir 4:112

If a person does a wrong action unintentionally or a sin intentionally and then accuses an innocent person of the same, they have taken on themselves a serious lie and a clear sin by acting in that manner.