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:16616Yūsuf al-Qāḍī > Sulaymān b. Ḥarb > Ḥammād b. Salamah > al-Ḥajjāj b. Arṭaʾah > Muḥammad b. Sahl b. Ḥunayf from his father

[Machine] I saw Muhammad bin Muslimah Al-Ansari observing the daughter of Ad-Dhihak playing on a wall, so he started looking at her. It was said to him, "Are you looking at her and you are the companion of the Messenger of Allah?" He said, "I heard the Messenger of Allah saying, 'When Allah casts a matter of desire for a woman in the heart of a man, it is not a problem for him to look at her.' " This is narrated by Hammad bin Salamah, who differed with the people on this hadith. The narrators have differed about whether it was Hajjaj bin Artat or Hafs bin Ghayath and Yazid bin Harun narrating from Hajjaj from Muhammad bin Sulaiman bin Abi Hathmah from his uncle Sahl bin Abi Hathmah from Muhammad bin Muslimah.  

الطبراني:١٦٦١٦حَدَّثَنَا يُوسُفُ الْقَاضِي ثنا سُلَيْمَانُ بْنُ حَرْبٍ ثنا حَمَّادُ بْنُ سَلَمَةَ عَنِ الْحَجَّاجِ بْنِ أَرْطَأَةَ عَنْ مُحَمَّدِ بْنِ سَهْلِ بْنِ حُنَيْفٍ عَنْ أَبِيهِ قَالَ

رَأَيْتُ مُحَمَّدَ بْنَ مَسْلَمَةَ الْأَنْصَارِيَّ رَأَى بِنْتَ الضَّحَّاكِ عَلَى جِدَارٍ تَلْعَبُ فَجَعَلَ يَنْظُرُ إِلَيْهَا فَقِيلَ لَهُ أَتَنْظُرُ إِلَيْهَا وَأَنْتَ صَاحِبُ رَسُولِ اللهِ ﷺ؟ قَالَ إِنِّي سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «إِذَا قَذَفَ اللهُ فِي قَلْبِ امْرِئٍ خِطْبَةَ امْرَأَةٍ فَلَا بَأْسَ أَنْ يَنْظُرَ إِلَيْهَا» هَكَذَا رَوَاهُ حَمَّادُ بْنُ سَلَمَةَ وَخَالَفَ النَّاسَ فِيهِ قَدِ اخْتَلَفَ الرُّوَاةُ عَنِ الْحَجَّاجِ بْنِ أَرْطَاةَ فِي هَذَا الْحَدِيثِ وَالصَّوَابُ عِنْدِي وَاللهُ أَعْلَمُ مَا رَوَاهُ حَفْصُ بْنُ غِيَاثٍ وَيَزِيدُ بْنُ هَارُونَ عَنِ الْحَجَّاجِ عَنْ مُحَمَّدِ بْنِ سُلَيْمَانَ بْنِ أَبِي حَثْمَةَ عَنْ عَمِّهِ سَهْلِ بْنِ أَبِي حَثْمَةَ عَنْ مُحَمَّدِ بْنِ مَسْلَمَةَ