Mishkat al-Masabih
‘A’isha said that God’s Messenger gave them their choice and they chose God and His Messenger; so that was not reckoned as counting in any way to their divorce. (Bukhari and Muslim.)
وَعَنْ عَائِشَةَ قَالَتْ: خَيَّرَنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَاخْتَرْنَا اللَّهَ وَرَسُولَهُ فَلَمْ يَعُدَّ ذَلِكَ عَلَيْنَا شَيْئًا
Reference