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.
abudawud:1197Muḥammad b. ʿUthmān b. Abū Ṣafwān al-Thaqafī > Yaḥyá b. Kathīr > Salm b. Jaʿfar > al-Ḥakam b. Abān > ʿIkrimah

Ibn Abbas was informed that so-and-so, a certain wife of the Prophet ﷺ, had died. He fell down prostrating himself. He was questioned: Why do you prostrate yourself this moment? He said: The Messenger of Allah ﷺ said: When you see a portent (an accident), prostrate yourselves. And which portent (accident) can be greater than the death of a wife of the Prophet ﷺ.  

أبو داود:١١٩٧حَدَّثَنَا مُحَمَّدُ بْنُ عُثْمَانَ بْنِ أَبِي صَفْوَانَ الثَّقَفِيُّ حَدَّثَنَا يَحْيَى بْنُ كَثِيرٍ حَدَّثَنَا سَلْمُ بْنُ جَعْفَرٍ عَنِ الْحَكَمِ بْنِ أَبَانَ عَنْ عِكْرِمَةَ قَالَ

قِيلَ لاِبْنِ عَبَّاسٍ مَاتَتْ فُلاَنَةُ بَعْضُ أَزْوَاجِ النَّبِيِّ ﷺ فَخَرَّ سَاجِدًا فَقِيلَ لَهُ أَتَسْجُدُ هَذِهِ السَّاعَةَ فَقَالَ قَالَ رَسُولُ اللَّهِ ﷺ إِذَا رَأَيْتُمْ آيَةً فَاسْجُدُوا وَأَىُّ آيَةٍ أَعْظَمُ مِنْ ذَهَابِ أَزْوَاجِ النَّبِيِّ ﷺ  


See similar narrations below:

Collected by Tirmidhī
tirmidhi:3891ʿAbbās al-ʿAnbarī > Yaḥyá b. Kathīr al-ʿAnbarī Abū Ghassān

"After Salat As-Subh, it was said to Ibn 'Abbas that so-and-so - one of the wives of the Prophet ﷺ - has died, so he prostrated. So it was said to him: 'Do you prostrate at this hour?' So he said: 'Has not the Messenger of Allah ﷺ [already] said: 'If you see a sign then prostrate?' Then which sign is grater than the passing of (one of) the wives of the Prophet ﷺ?'"  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Gharīb and we do not know of any other Ḥadīth except through this particular context.
الترمذي:٣٨٩١حَدَّثَنَا عَبَّاسٌ الْعَنْبَرِيُّ قَالَ حَدَّثَنَا يَحْيَى بْنُ كَثِيرٍ الْعَنْبَرِيُّ أَبُو غَسَّانَ قَالَ حَدَّثَنَا سَلْمُ ابْنُ جَعْفَرٍ وَكَانَ ثِقَةً عَنِ الْحَكَمِ بْنِ أَبَانَ عَنْ عِكْرِمَةَ قَالَ

قِيلَ لاِبْنِ عَبَّاسٍ بَعْدَ صَلاَةِ الصُّبْحِ مَاتَتْ فُلاَنَةُ لِبَعْضِ أَزْوَاجِ النَّبِيِّ ﷺ فَسَجَدَ فَقِيلَ لَهُ أَتَسْجُدُ هَذِهِ السَّاعَةَ فَقَالَ أَلَيْسَ قَدْ قَالَ رَسُولُ اللَّهِ ﷺ إِذَا رَأَيْتُمْ آيَةً فَاسْجُدُوا فَأَىُّ آيَةٍ أَعْظَمُ مِنْ ذَهَابِ أَزْوَاجِ النَّبِيِّ ﷺ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ لاَ نَعْرِفُهُ إِلاَّ مِنْ هَذَا الْوَجْهِ