Hi Spuse,
If you qualify for split year then you only report any foreign income for the UK part of the year:
RDRM12000 - Residence: The SRT: Split year treatment: Contents
If you do not qualify then you will need to report all your foreign income to the:
Tax on foreign income
The guidance at RDRM12150 at www.gov.uk will help you work out if split year treatment applies.
If the property was your only and main residence for the whole period of ownership, there will be no gain to report.
Thank you.