Indeed, those who like that immorality1 should be spread [or publicized] among those who have believed will have a painful punishment in this world and the Hereafter. And Allāh knows2 and you do not know.
Translation: Saheeh International (English)
1 Specifically, unlawful sexual relations.
2 The hidden aspects of all things: what is beneficial and what is harmful.
Those who love for immoral acts to spread amongst the believers, one of them being to accuse of adultery, for them is a painful punishment in the world, by the fixed punishment of slander being executed upon them, and for them is the fire of Hell in the Hearafter. Allah knows their lies and the outcome of His servants’ matter, and He knows what is best for them and you do not know that.