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.
bayhaqi:7109[Chain 1] Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muḥammad b. Isḥāq al-Ṣaghānī > Yaḥyá b. Maʿīn > Ibn ʿUyaynah [Chain 2] Abū Ṣāliḥ b. Abū Ṭāhir > Jaddī Yaḥyá b. Manṣūr > Aḥmad b. Salamah > Isḥāq b. Ibrāhīm And Hannād b. al-Sarī Waʾisḥāq b. Mūsá al-Anṣārī > Isḥāq > al-Ākharān > Sufyān > Ibn Abū Najīḥ from his father > ʿUbayd b. ʿUmayr

[Machine] When Abu Salamah died, Umm Salamah said, "I will be a stranger in a foreign land, so I will weep for him with a weeping that can be heard." She said, "When I prepared myself to weep for him, a woman came to see me and the Messenger of Allah greeted her and asked her, 'Do you want to let the devil enter a house that is already filled with grief?'"  

البيهقي:٧١٠٩أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا مُحَمَّدُ بْنُ إِسْحَاقَ الصَّغَانِيُّ ثنا يَحْيَى بْنُ مَعِينٍ ثنا ابْنُ عُيَيْنَةَ ح وَأَخْبَرَنَا أَبُو صَالِحِ بْنُ أَبِي طَاهِرٍ أنبأ جَدِّي يَحْيَى بْنُ مَنْصُورٍ ثنا أَحْمَدُ بْنُ سَلَمَةَ ثنا إِسْحَاقُ بْنُ إِبْرَاهِيمَ وَهَنَّادُ بْنُ السَّرِيِّ وَإِسْحَاقُ بْنُ مُوسَى الْأَنْصَارِيُّ قَالَ إِسْحَاقُ أَخْبَرَنَا وَقَالَ الْآخَرَانِ حَدَّثَنَا سُفْيَانُ عَنِ ابْنِ أَبِي نَجِيحٍ عَنْ أَبِيهِ عَنْ عُبَيْدِ بْنِ عُمَيْرٍ قَالَ قَالَتْ

أُمُّ سَلَمَةَ لَمَّا مَاتَ أَبُو سَلَمَةَ ؓ قُلْتُ غَرِيبٌ وَفِي أَرْضِ غُرْبَةٍ لَأَبْكِيَنَّ عَلَيْهِ بُكَاءً يُتَحَدَّثُ بِهِ قَالَتْ فَلَمَّا تَهَيَّأْتُ لِلْبُكَاءِ عَلَيْهِ إِذَا امْرَأَةٌ تُرِيدُ أَنْ تَأْتِيَنِي فَاسْتَقْبَلَهَا رَسُولُ اللهِ ﷺ فَقَالَ أَتُرِيدِينَ أَنْ تُدْخِلِي الشَّيْطَانَ بَيْتًا قَدْ  

أَخْرَجَهُ اللهُ مِنْهُ قَالَتْ فَكَفَفْتُ عَنِ الْبُكَاءِ عَلَيْهِ وَفِي رِوَايَةِ أَبِي عَبْدِ اللهِ لَأَبْكِيَنَّ بُكَاءً يُتَحَدَّثُ عَنْهُ فَبَيْنَا أَنَا كَذَلِكَ قَدْ تَهَيَّأْتُ لِلْبُكَاءِ عَلَيْهِ إِذْ أَتَتِ امْرَأَةٌ تُرِيدُ أَنْ تُسْعِدَنِي مِنَ الصَّعِيدِ فَاسْتَقْبَلَهَا فَذَكَرَهُ قَالَتْ فَكَفَفْتُ عَنِ الْبُكَاءِ فَلَمْ أبْكِهِ

See similar narrations below:

Collected by Muslim
muslim:922Abū Bakr b. Abū Shaybah And Ibn Numayr And ʾIsḥāq b. Ibrāhīm > Ibn ʿUyaynah > Ibn Numayr > Sufyān > Ibn Abū Najīḥ from his father > ʿUbayd b. ʿUmayr

When Abu Salama died I said: I am a stranger in a strange land; I shall weep for him in a manner that would be talked of. I made preparation for weeping for him when a woman from the upper side of the city came there who intended to help me (in weeping). She happened to come across the Messenger of Allah ﷺ and he said: Do you intend to bring the devil into a house from which Allah has twice driven him out? I (Umm Salama), therefore, refrained from weeping and I did not weep.  

مسلم:٩٢٢وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ وَابْنُ نُمَيْرٍ وَإِسْحَاقُ بْنُ إِبْرَاهِيمَ كُلُّهُمْ عَنِ ابْنِ عُيَيْنَةَ قَالَ ابْنُ نُمَيْرٍ حَدَّثَنَا سُفْيَانُ عَنِ ابْنِ أَبِي نَجِيحٍ عَنْ أَبِيهِ عَنْ عُبَيْدِ بْنِ عُمَيْرٍ قَالَ قَالَتْ

أُمُّ سَلَمَةَ لَمَّا مَاتَ أَبُو سَلَمَةَ قُلْتُ غَرِيبٌ وَفِي أَرْضِ غُرْبَةٍ لأَبْكِيَنَّهُ بُكَاءً يُتَحَدَّثُ عَنْهُ فَكُنْتُ قَدْ تَهَيَّأْتُ لِلْبُكَاءِ عَلَيْهِ إِذْ أَقْبَلَتِ امْرَأَةٌ مِنَ الصَّعِيدِ تُرِيدُ أَنْ تُسْعِدَنِي فَاسْتَقْبَلَهَا رَسُولُ اللَّهِ ﷺ وَقَالَ أَتُرِيدِينَ أَنْ تُدْخِلِي الشَّيْطَانَ بَيْتًا أَخْرَجَهُ اللَّهُ مِنْهُ مَرَّتَيْنِ فَكَفَفْتُ عَنِ الْبُكَاءِ فَلَمْ أَبْكِ