There was revealed to the Prophet (peace and blessings be upon him): "O Prophet, say to your wives: If you desire the life of this world and its adornment, then come" [Surah al-Ahzab: 28], to the end of the two verses. The Prophet (peace and blessings be upon him) gave them the choice, and they chose Allah, His Messenger and the Hereafter. So Allah Almighty, in appreciation of this, revealed these verses: "Women are not lawful for you after this, nor that you exchange them for other wives, even if their beauty pleases you, except what your right hand possesses." [Surah al-Ahzab: 52]
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13346