(9) باب وُجُوبِ الإِحْدَادِ فِي عِدَّةِ الْوَفَاةِ وَتَحْرِيمِهِ فِي غَيْرِ ذَلِكَ إِلاَّ ثَلاَثَةَ أَيَّامٍ
'A'isha (Allah be pleased with her) reported Allah's Messenger (ﷺ) as saying:
It is not permissible for a woman believing in Allah and the Hereafter to observe mourning on the dead for more than three (days), except in case of her husband.
Reference: Sahih Muslim 1491
In-book reference: Book 18, Hadith 84
USC-MSA web (English) reference(deprecated numbering scheme): Book 9, Hadith 3549
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.