Hi TL Leung,
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:
If you do not qualify then you will need to report all your foreign income to the UK
Tax on foreign income.
The guidance at
RDRM12150 at www.gov.uk will help you work out if split year treatment applies.
As the property was not your main home and sold when you are a UK resdient, the gain needs to be reported.
As also claiming split year, a tax return is required for 22/23
Thank you.