Not sure on the specifics of the WhatsApp deal, but often times the founders, or key employees will be paid in stock from the new company that vests over some number of years (4 usually). Some or a lot of it might be up front, but to get 100% of it, they might have had to stay for a few years.