Being stabbed in the head is better than touching a woman who is not permissible
the Messenger of Allah ﷺ said, "If a man 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."
قَالَ رَسُولُ اللهِ ﷺ «لَأَنْ يُطْعَنَ فِي رَأْسِ رَجُلٍ بِمِخْيَطٍ مِنْ حَدِيدٍ خَيْرٌ لَهُ مِنْ أَنْ يَمَسَّ امْرَأَةً لَا تَحِلُّ لَهُ»