Being stabbed in the head is better than touching a woman who is not permissible
"If one of you is stabbed in the head with an iron needle, it is better for him than him touching a woman who is not ḥalāl (permissible) for him."
قَالَ رَسُولُ اللهِ ﷺ «لَأَنْ يُطْعَنَ فِي رَأْسِ أَحَدِكُمْ بِمِخْيَطٍ مِنْ حَدِيدٍ خَيْرٌ لَهُ مِنْ أَنْ يَمَسَّ امْرَأَةً لَا تَحِلُّ لَهُ»