Sahih al-Bukhari 5338
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لاَ تَكَحَّلْ قَدْ كَانَتْ إِحْدَاكُنَّ تَمْكُثُ فِي شَرِّ أَحْلاَسِهَا أَوْ شَرِّ بَيْتِهَا، فَإِذَا كَانَ حَوْلٌ فَمَرَّ كَلْبٌ رَمَتْ بِبَعَرَةٍ، فَلاَ حَتَّى تَمْضِيَ أَرْبَعَةُ أَشْهُرٍ وَعَشْرٌ "
Narrated Um Salama:
A woman was bereaved of her husband and her relatives worried about her eyes (which were diseased). They came to Allah's Messenger (ﷺ), and asked him to allow them to treat her eyes with kohl, but he said, "She should not apply kohl to her eyes. (In the Pre-Islamic period of Ignorance) a widowed woman among you would stay in the worst of her clothes (or the worst part of her house) and when a year had elapsed, if a dog passed by her, she would throw a globe of dung, Nay, (she cannot use kohl) till four months and ten days have elapsed."
Full reference and source
Sahih al-Bukhari 5338 In-book : Book 68, Hadith 83 USC-MSA web (English) : Vol. 7, Book 63, Hadith 252 (deprecated)
View source on Sunnah.com (opens in a new tab)