Yes. The Quran sets a severe punishment for those who accuse chaste people without four witnesses (24:4), and curses those who slander believing women who never thought of evil (24:23). It is a major sin.
اور جو لوگ پرہیزگار عورتوں کو بدکاری کا عیب لگائیں اور اس پر چار گواہ نہ لائیں تو ان کو اسی درے مارو اور کبھی ان کی شہادت قبول نہ کرو۔ اور یہی بدکردار ہیں
جو لوگ پرہیزگار اور برے کاموں سے بےخبر اور ایمان دار عورتوں پر بدکاری کی تہمت لگاتے ہیں ان پر دنیا وآخرت (دونوں) میں لعنت ہے۔ اور ان کو سخت عذاب ہوگا
This is general information, not a fatwa. For your own situation, ask a qualified scholar.
Questions about halal and haram
Is falsely accusing someone of immorality haram?
Yes. The Quran sets a severe punishment for those who accuse chaste people without four witnesses (24:4), and curses those who slander believing women who never thought of evil (24:23). It is a major sin.