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:1279Musaddad > Bishr b. al-Mufaḍḍal > Salamah b. ʿAlqamah > Muḥammad b. Sīrīn > Tuwuffī

One of the sons of Um 'Atiyya died, and when it was the third day she asked for a yellow perfume and put it over her body, and said, "We were forbidden to mourn for more than three days except for our husbands."  

البخاري:١٢٧٩حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا بِشْرُ بْنُ الْمُفَضَّلِ حَدَّثَنَا سَلَمَةُ بْنُ عَلْقَمَةَ عَنْ مُحَمَّدِ بْنِ سِيرِينَ قَالَ تُوُفِّيَ ابْنٌ لأُمِّ عَطِيَّةَ ؓ فَلَمَّا كَانَ الْيَوْمُ الثَّالِثُ دَعَتْ بِصُفْرَةٍ فَتَمَسَّحَتْ بِهِ وَقَالَتْ نُهِينَا

أَنْ نُحِدَّ أَكْثَرَ مِنْ ثَلاَثٍ إِلاَّ بِزَوْجٍ  


See similar narrations below:

Collected by Bukhārī, Ṭabarānī
bukhari:5340Musaddad > Bishr > Salamah b. ʿAlqamah > Muḥammad b. Sīrīn > Um ʿAṭiyyah Nuhīnā

We were forbidden to mourn for more than three days except for a husband.  

البخاري:٥٣٤٠حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا بِشْرٌ حَدَّثَنَا سَلَمَةُ بْنُ عَلْقَمَةَ عَنْ مُحَمَّدِ بْنِ سِيرِينَ قَالَتْ أُمُّ عَطِيَّةَ نُهِينَا

أَنْ نُحِدَّ أَكْثَرَ مِنْ ثَلاَثٍ إِلاَّ بِزَوْجٍ  

tabarani:21679Muʿādh b. al-Muthanná > Musaddad > Bishr b. al-Mufaḍḍal > Salamah b. ʿAlqamah > Muḥammad b. Sīrīn

[Machine] To spend more than three nights mourning a deceased person, except for a spouse.  

الطبراني:٢١٦٧٩حَدَّثَنَا مُعَاذُ بْنُ الْمُثَنَّى ثنا مُسَدَّدٌ ثنا بِشْرُ بْنُ الْمُفَضَّلِ ثنا سَلَمَةُ بْنُ عَلْقَمَةَ عَنْ مُحَمَّدِ بْنِ سِيرِينَ قَالَ تُوُفِّيَ ابْنٌ لِأُمِّ عَطِيَّةَ فَلَمَّا كَانَ فِي الثَّالِثِ دَعَتْ بِصُفْرَةٍ فَتَمَسَّحَتْ بِهَا فَقَالَتْ إِنَّا «§نُهِينَا

أَنْ نُحِدَّ عَلَى مَيِّتٍ أَكْثَرَ مِنْ ثَلَاثِ لَيَالٍ إِلَّا عَلَى زَوْجٍ»