وَقَدْ أَخْبَرَنَاهُ ابْنُ عَبْدَانَ ، أَخْبَرَنَا أَحْمَدُ بْنُ عُبَيْدٍ ، حَدَّثَنَا تَمْتَامٌ ، حَدَّثَنَا الْحَسَنُ بْنُ مَخْلَدٍ الْحَضْرَمِيُّ ، حَدَّثَنَا عَاصِمُ بْنُ هِلَالٍ ، حَدَّثَنَا أَيُّوبُ ، قَالَ - أَظُنُّهُ - عَنْ مُحَمَّدِ بْنِ الْمُنْكَدِرِ ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ ، قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " لَا تُسَافِرِ الْمَرْأَةُ إِلَّا وَمَعَهَا مَحْرَمٌ ، وَلَا يُدْخَلُ عَلَيْهَا إِلَّا وَعِنْدَهَا مَحْرَمٌ " ، قُلْتُ : يَا رَسُولَ اللَّهِ ، إِنَّمَا نَدْخُلُ عَلَيْهِنَّ لِيُطْعِمْنَنَا ، قَالَ : " فَلْيَدْخُلْ أَحَدُكُمْ حِينَ يَدْخُلُ ، وَلِيَعْلَمْ أَنَّ اللَّهَ يَرَاهُ " ، كَذَا فِي الْحَدِيثِ قَالَ : أَظُنُّهُ .
It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "No woman should travel without a mahram, and no one should go in to a woman (in privacy) except while a mahram is present with her." I said: "O Messenger of Allah, we only go to them so that they may give us food." He (peace and blessings be upon him) said: "Whoever of you goes, when he goes, let him go knowing that Allah sees him."
That is how it is in the hadith; the narrator said: "That is what I think."