All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad,
, is His slave and Messenger.
Our view is that this kind of sin does not require you to ask forgiveness from the husband, if you are married, or from other relatives, if you are unmarried. This is because asking forgiveness from people, for this kind of sin, may lead to great harm. This kind of sin only requires that you repent sincerely fulfilling all the conditions of an accepted repentance, such as regretting the sin, stopping the sin and being determined not to repeat it. Once you fulfill these conditions, it will be considered a valid and accepted repentance, Allah willing.
We advise you to abundantly ask Allah to forgive the person whom you have transgressed the rights of.
Allah Knows best.