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.
bukhari:2844Mūsá > Hammām > Isḥāq b. ʿAbdullāh > Anas

The Prophet ﷺ used not to enter any house in Medina except the house of Um Sulaim besides those of his wives when he was asked why, he said, "I take pity on her as her brother was killed in my company. "  

البخاري:٢٨٤٤حَدَّثَنَا مُوسَى حَدَّثَنَا هَمَّامٌ عَنْ إِسْحَاقَ بْنِ عَبْدِ اللَّهِ عَنْ أَنَسٍ ؓ

أَنَّ النَّبِيَّ ﷺ لَمْ يَكُنْ يَدْخُلُ بَيْتًا بِالْمَدِينَةِ غَيْرَ بَيْتِ أُمِّ سُلَيْمٍ إِلاَّ عَلَى أَزْوَاجِهِ فَقِيلَ لَهُ فَقَالَ: «إِنِّي أَرْحَمُهَا قُتِلَ أَخُوهَا مَعِي۔»  


See similar narrations below:

Collected by Muslim
muslim:2455Ḥasan al-Ḥulwānī > ʿAmr b. ʿĀṣim > Hammām > Isḥāq b. ʿAbdullāh > Anas

I feel great compassion for her. Her brother was killed while he was with me.  

مسلم:٢٤٥٥حَدَّثَنَا حَسَنٌ الْحُلْوَانِيُّ حَدَّثَنَا عَمْرُو بْنُ عَاصِمٍ حَدَّثَنَا هَمَّامٌ عَنْ إِسْحَاقَ بْنِ عَبْدِ اللَّهِ عَنْ أَنَسٍ قَالَ

كَانَ النَّبِيُّ ﷺ لاَ يَدْخُلُ عَلَى أَحَدٍ مِنَ النِّسَاءِ إِلاَّ عَلَى أَزْوَاجِهِ إِلاَّ أُمِّ سُلَيْمٍ فَإِنَّهُ كَانَ يَدْخُلُ عَلَيْهَا فَقِيلَ لَهُ فِي ذَلِكَ فَقَالَ إِنِّي أَرْحَمُهَا قُتِلَ أَخُوهَا مَعِي