Answer
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
Islam teaches modesty and chastity; hence any exposure or nudity is a grave sin. Sexting as defined by Wikipedia is haram in Islam.
In his response to your question, Sheikh Ahmad Kutty, a senior lecturer and Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states:
Here is the definition of sexting in Wikipedia:
“Sexting is sending, receiving, or forwarding sexually explicit messages, photographs, or images, primarily between mobile phones, of oneself to others. It may also include the use of a computer or any digital device.”
There is no way a Muslim can engage in online chats involving such activities. Islam teaches modesty and chastity; hence any exposure or nudity is considered a grave sin.
Such activities lead to adultery and fornication which are grave sins in Islam. Allah orders us “…do not even go near fornication, for it is indeed an abomination and an evil way.” (Al-Israa’ 17: 32)
In another verse, we read: “…and not expose their adornment except to their husbands…” An-Nur 24:31)
So, by sending your nude pictures or receiving nude photos of others, you are guilty of a grave sin. I advise you to repent.
As for how to seek repentance you may refer to the answer linked below:
The Door of Repentance Is Wide Open
Almighty Allah knows best.