With the verse Quran 33:52, Muhammad(PBUH) was not allowed to take any new wives or change them for other wives.
Not lawful to you, [O Muhammad], are [any additional] women after [this], nor [is it] for you to exchange them for [other] wives, even if their beauty were to please you, except what your right hand possesses. And ever is Allah , over all things, an Observer.
according to chronological order of Quran this Surah revealed in 5 AH. here
But according to history, the Prophet married "Maymunah bint al-Harith al-Hilaliyah" in year 7 AH (629 AC) here.
Did the Prophet marry "Maymunah bint al-Harith al-Hilaliyah" after the revelation of Quran 33:52?