The Prophet ﷺ gave his wives the choice, and that was not considered a divorce.
أخبرنا محمد بن إبراهيم بن صدران عن خالد بن الحارث قال حدثنا أشعث وهو ابن عبد الملك عن عاصم عن الشعبي عن مسروق
قد خير النبي ﷺ نساءه فلم يكن طلاقا
[Sahih]. Previously mentioned, no. 3205, and it is in Kubra, no. 5636.