The Electrical Safety Standards in the Private Rented Sector (England) Regulations 2020 require that landlords have property electrics checked at least every 5 years by a properly qualified person. The electrics must meet standards and landlords must give their tenants proof of this.
These guides on the regulations are for landlords, tenants and local authorities.
Click this link to go to the Government website.