Ref. No. 2584/45-3944
In the name of Allah the most Gracious the most Merciful
The answer to your question is follows:
Your cousin sister is not mahram for you; you must maintain proper Parda from her. Because of the lack of proper Parda it has happened. It is a forbidden and heinous crime and sinful act that should not have been occurred. Now, repent to Allah and seek forgiveness for your sins, and keep away from the same in the future. However, due to this shameful act, the Musaharat will take place.
عن معقل بن يسار رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: "لأن يُطعن في رأس أحدكم بمخيط من حديد خير له من أن يمسّ امرأة لاتحلّ له." رواه الطبراني". (صحيح الجامع 5045)
"وفي رواية : أَنَّهُ يُبَايِعُهُنَّ بِالْكَلامِ .. وَمَا مَسَّتْ كَفُّ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَفَّ امْرَأَةٍ قَطُّ". (صحيح مسلم 3470)
It is said in the hadith that if an iron needle is thrust into a man's head, it is better for him than touching a non-mahram woman, who is not permissible for him.
Darul Ifta
Darul Uloom Waqf Deoband