Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:11214ʿAbdullāh b. Mūsá b. Abū ʿUthmān al-Anmāṭī > al-Ḥakam b. Mūsá > Maslamah b. ʿUlay > Ibn Jurayj > ʿAṭāʾ And ʿAmriw b. Dīnār > Ibn ʿAbbās

[Machine] On the authority of the Messenger of Allah, ﷺ , he said, "Whoever looks at a private part of someone's body, let him cover it with himself. If he does not do so, then he should blind himself with a burning ember. Verily, he has no sanctity."  

الطبراني:١١٢١٤حَدَّثَنَا عَبْدُ اللهِ بْنُ مُوسَى بْنِ أَبِي عُثْمَانَ الْأَنْمَاطِيُّ ثنا الْحَكَمُ بْنُ مُوسَى ثنا مَسْلَمَةُ بْنُ عُلَيٍّ عَنِ ابْنِ جُرَيْجٍ عَنْ عَطَاءٍ وَعَمْرِو بْنِ دِينَارٍ عَنِ ابْنِ عَبَّاسٍ

عَنْ رَسُولِ اللهِ ﷺ قَالَ «مَنْ نَظَرَ إِلَى فُرْجَةِ صَفٍّ فَلْيَسْتُرْها بِنَفْسِهِ فَإِنْ لَمْ يَفْعَلْ فَمَرَّ مَارٌّ عَلَيْهِ فليطأْ عَلَى رَقَبَتِهِ فَإِنَّهُ لَا حُرْمَةَ لَهُ»  


See similar narrations below:

Collected by Suyūṭī
suyuti:23397a
Request/Fix translation

  

السيوطي:٢٣٣٩٧a

"مَنْ نَظَرَ إِلَى فُرْجَةٍ فِي صَفّ، فَليَسُدَّها بِنَفْسِهِ، فإِنْ لَمْ يَفْعَلْ فَمَر (فمن) (*) مَارٌّ فَليَتَخَطَّ عَلَى رَقَبَتِهِ فإِنَّهُ لا حُرْمَةَ لَهُ".  

[طب] الطبرانى في الكبير عن ابن عباس