Gas cookers need to be installed "competently" which covers more than just having a leak-free connection. There are several other issues.
That means you need a Gas Safe Registered fitter.
Once it has been correctly installed, if it has a bayonet connector the owner is permitted to disconnect and...