Hi,
Please see HS283 Private Residence Relief (2023).
HS283 Private Residence Relief (2023)
If this was your only home and you had lived in it for the full period of ownership then you are entitled to private residence relief for the final 9 months, regardless of whether you had lived in it in those final 9 months. If your gain is fully covered by private residence relief then there is nothing for you to declare as a Capital Gain.
Thank you.