The Prophet ﷺ gave his wives the choice between this world and the hereafter, but he did not give them the choice of divorce.
حدثنا عبد الله قال و حدثناه يحيى بن أيوب حدثنا علي بن هاشم بن البريد فذكر مثله وقال خير نساءه بين الدنيا والآخرة ولم يخيرهن الطلاق
Its isnad is very daif, and it is a repetition of the one before it, and both of them are among the additions of Abdullah bin Ahmad.