Post-nuptial Agreements

Is it permissible to have a post-nuptial agreement in place which over-rides UK law in favour of Sharia law or for any other reason?