Narrated Al-Miswer bin Makhrama:
Subai’a Al-Aslamiya gave birth to a child a few days after the death of her husband. She came to the Prophet and asked permission to remarry, and the Prophet gave her permission, and she got married.
Sahih Bukhari, Volume 7, Book63, Number 241