It was narrated that Abu Sanabil said:
"Subai'ah Aslamiyyah bint Harith gave birth twenty-odd days after her husband died. When her postnatal bleeding ended, she adorned herself, and was criticized for doing that. Her case was mentioned to the Prophet (ﷺ) and he said: 'If she does that, then her waiting period is over."'
English reference: Vol. 3, Book 10, Hadith 2027
Arabic reference: Book 10, Hadith 2105