A strong smell of gas was also detected, prompting Harrow Council to send an emergency engineer to the property, according to the Local Democracy Reporting Service.
The landlord was then issued with an Emergency Prohibition Order, preventing anyone from living there until the work was carried out and the property brought up to an acceptable standard.
Harrow Council said the landlord ignored multiple requests to provide the required fire and electrical safety certificates.
Trivedi also did not have an HMO licence, which is a legal requirement across the borough for renting out a property of that kind.
The licence costs between £1,285.90 and £1,818.00 a year, depending on whether the application is new or a renewal.
Trivedi was found guilty of two offences: failing to provide a fire safety certificate and failing to provide an electrical safety certificate.
He was fined £5,000 and ordered to pay a victim surcharge of £2,000, as well as a costs contribution of £2,000.