Two appliances and crews from West Ashland and one from Newport Pagnell attended, along with an officer.
Smoke was issuing from a single-storey building when they arrived.
The firefighters removed a pan, which was on fire, from the hob, and used a positive pressure ventilation fan to clear the smoke.
One man and one woman were escorted from the building and passed into the care of South Central Ambulance Service.