Allah has already ordained for you, (O men), the dissolution of your oaths (in some cases): and Allah is your Protector, and He is Full of Knowledge and Wisdom.
قَدْ فَرَدَ لَّاهُ لَکُمْ تَحِلَّتَ اَیْمَانِکُمْ وَلَّاهُ مَوْلَاکُمْ وَهُوَ لْعَلِیمُ لْحَکِیمْ
(Allah hath made lawful for you (Muslims) absolution from your oaths (of such a kind)) and so the Prophet (pbuh) absolved himself from his oath and married Maria the Copt, (and Allah is your Protector) and Helper. (He is the Knower) He knows that you forbade yourself Maria the Copt, (the Wise) in that which He enjoined about the expiation of oaths.