Following the PADI rules, after a normal dive you should wait 12h before boarding a plane or going to the Teide, after various dives ore really deep dives, 18h is the rule.
Generally speaking: Don't do it the same day after diving, but you can go to the Teide and directly jump into the water afterwards, no problem at all! You will find more info about this topic on our BLOG