[Machine] The Prophet ﷺ received the revelation: "O Prophet, say to your wives, 'If you should desire the worldly life and its adornment, then come, I will provide for you.'" [Surah Al-Ahzab, verse 28] to the end of the two verses. The Prophet ﷺ gave them the choice and they chose Allah and His Messenger, and the Hereafter. Allah appreciated their choice and revealed to the Prophet ﷺ: "O Prophet, indeed We have made lawful to you your wives to whom you have given their due compensation and those your right hand possesses from what Allah has returned to you [of captives]..." [Surah Al-Ahzab, verse 52]
نَزَلَ عَلَى رَسُولِ اللهِ ﷺ {يَا أَيُّهَا النَّبِيُّ قُلْ لِأَزْوَاجِكَ إِنْ كُنْتُنَّ تُرِدْنَ الْحَيَاةَ الدُّنْيَا وَزِينَتَهَا فَتَعَالَيْنَ} [الأحزاب 28] إِلَى آخِرِ الْآيَتَيْنِ فَخَيَّرَهُنَّ رَسُولُ اللهِ ﷺ فَاخْتَرْنَ اللهَ وَرَسُولَهُ وَالدَّارَ الْآخِرَةَ فَشَكَرَ اللهُ لَهُنَّ ذَلِكَ وَأَنْزَلَ عَلَيْهِ {لَا يَحِلُّ لَكَ النِّسَاءُ مِنْ بَعْدُ وَلَا أَنْ تَبَدَّلَ بِهِنَّ مِنْ أَزْوَاجٍ وَلَوْ أَعْجَبَكَ حُسْنُهُنَّ إِلَّا مَا مَلَكَتْ يَمِينُكَ} [الأحزاب 52]