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.