عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم يَقُول: «من نِيحَ عَلَيْهِ فَإِنَّهُ يُعَذَّبُ بِمَا نِيحَ عَلَيْهِ يَوْم الْقِيَامَة»
Translation
Umm Salama told that when Abu Salama died she said he had been a stranger in a strange land and that she would weep for him in a manner which would be talked of. She had made preparations for weeping and a woman who meant to assist her was on her way when she was met by God’s messenger who said, “Do you intend to bring the devil into a house from which God has twice driven him out?”(Abu Salama had emigrated both to Abyssinia and to Medina and this may be the reference here; or it may be explained as meaning that the devil was driven out first when he accepted Islam and secondly when he died as a Muslim) Umm Salama therefore refrained from weeping and did not weep. Muslim transmitted it.