For area conservation reasons, the Teide National Park restricts the time to 1 hour. Also, staying at such an altitude for more than one hour increases the risk of suffering from altitude sickness.
If you have a permit to access the peak of Teide, you can stay longer at the summit, without exceeding the 2 hours you’re allowed to spend in this area.