I believe the legislation says "within 500 ft of" so (legally subject to the rule to alight clear in event of engine failure)
The 500 feet rule
Except with the written permission of the CAA, an aircraft shall not be flown closer than 500 feet to any person, vessel, vehicle or structure.