حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ، عَنْ حَجَّاجٍ، عَنْ مُحَمَّدِ بْنِ سُلَيْمَانَ، عَنْ عَمِّهِ، سَهْلِ بْنِ أَبِي حَثْمَةَ عَنْ مُحَمَّدِ بْنِ مَسْلَمَةَ، قَالَ خَطَبْتُ امْرَأَةً فَجَعَلْتُ أَتَخَبَّأُ لَهَا حَتَّى نَظَرْتُ إِلَيْهَا فِي نَخْلٍ لَهَا فَقِيلَ لَهُ أَتَفْعَلُ هَذَا وَأَنْتَ صَاحِبُ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ فَقَالَ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ " إِذَا أَلْقَى اللَّهُ فِي قَلْبِ امْرِئٍ خِطْبَةَ امْرَأَةٍ فَلاَ بَأْسَ أَنْ يَنْظُرَ إِلَيْهَا " .
Muhammad ibn Maslamah (may Allah be pleased with him) reported: I engaged a woman, so I would hide for her among palm trees that belonged to her until I saw her. It was said to him: "Did you do that despite the fact that you are a Companion of the Messenger of Allah (may Allah's peace and blessings be upon him)?" He said: "I heard the Messenger of Allah (may Allah's peace and blessings be upon him) say: 'If Allah casts the desire to engage a woman in the heart of a man, it is Okay for him to look at her.'"
Where the Encyclopedia of Translated Prophetic Hadiths (HadeethEnc.com) has the very text of a narration, its translation stands under that narration and is named. The two were paired by program, from the Arabic alone: the entry’s whole text, with the Companion it names, is the end of the narration letter for letter. Nobody has checked the pairing, and Sabīl’s reviewers have not examined the translation. The Arabic is the text.
The Arabic text, the numbering, the book names and the gradings are shown exactly as they stand in an open dataset (hadith-api). Sabīl has not yet verified its accuracy or its rights, and its scholarly review has not begun. Until then, check a narration against a printed edition before relying on it.