First of all, it is to be stated that the Muslim should be far removed from obscenity and obscene actions. One of the most evil of things is that Muslims should openly manifest their immoral actions and their being far from Allah. An example of this is when a Muslim commits a sin which angers Allah, His Creator, Master and Lord, and Allah, the Concealer, the Most Generous, the Forgiver, who could, if He willed, cause the earth to swallow him when he is committing that promiscuous act and neglecting the sacred limits set by Allah, conceals his action. Even worse than that, he becomes proud of angering Allah and spreads news of that among people, uncovering that which Allah has concealed from the people.
Imam Al-Bukhari reported on the authority of Abu Hurayrah who said: I heard Allah’s Messenger saying. “All the sins of my followers will be forgiven except those of the Mujahirin (those who commit a sin openly or disclose their sins to the people). An example of such disclosure is that a person commits a sin at night and though Allah screens it from the public, then he comes in the morning, and says, ‘O so-and-so, I did such-and-such (evil) deed yesterday,’ though he spent his night screened by his Lord (none knowing about his sin) and in the morning he removes Allah’s screen from himself.”
Concerning the command to cover or conceal one’s sin, a hadith was reported on the authority of Ibn `Umar which is attributed to the Prophet (peace and blessings be upon him): “Avoid these obscenities which Allah has forbidden. Whoever commits any of them, let him be concealed with the concealment of Allah.” (Reported by al-Hakim).
Having stated the above, it is a well-known fact that no one will abide in the Hell-Fire forever except for the unbelievers who deny the Existence of Allah and associate other partners with Him in His Divinity.
To ascribe other partners to Allah is one of the major sins. Allah Almighty says: “Lo! Allah pardoneth not that partners should be ascribed unto him. He pardoneth all save that to whom He will. Whoso ascribeth partners unto Allah hath wandered far astray.” (An-Nisa’: 116)
On the other hand, those Muslims who commit sins openly without any sense of shame will be condemned to the Hell-Fire, but they will not abide forever. Such ruling may be derived from the previous verse, and all Muslim Jurists, including Ibn `Abbas (may Allah be pleased with him) agree on this point.
The Qur’an also refers to the fact that if anyone shuns major sins, Allah Almighty forgives his minor ones. Allah says: “Those who avoid enormities of sin and abominations, save the unwilled offences (for them) lo! thy Lord is of vast mercy.” (An-Najm: 32)
However, it is better for those who commit sins in public to fear Allah, and know that He is Ever-Watchful of their wrong actions. They should know that evil deeds incur the severest punishment on the
Day of Judgement. Instead of boasting of committing sins in public, they should repent and turn penitent to Allah, so that He may forgive them and shower His Mercy upon them.