The Messenger of Allah ﷺ gave Barirah the choice.
حدثنا إسمعيل بن توبة حدثنا عباد بن العوام عن يحيى بن أبي إسحق عن عبد الرحمن بن أذينة
أن رسول الله ﷺ خير بريرة
No references are available.
Its isnad is hasan, and it has corroborating narrations in Bukhari, Talaq, chapter (17), no. 5284 and elsewhere, so the hadith is sahih.