the Messenger of Allah (ﷺ) gave Barirah the choice.

Sunan Ibn Majah Book 10, Hadith 63