The Messenger of Allah ﷺ gave us the choice, and we chose Allah and His Messenger, so it was not counted against us as anything.
خيرنا رسول الله ﷺ، فاخترنا الله ورسوله فلم يعد ذلك علينا شيئا.
Bukhari narrated it in the Book of Divorce (5262), and Muslim in the Book of Divorce (1477:28), both through the route of Amash, who said, Muslim narrated to us, from Masruq, from Ayesha, and he mentioned it.