Ocarina of time is better.
I personally think Majora's Mask has the better story but it also has some major annoyances such as having to parts of the game again, the time limit that frustrated in the dungeons, the saving system and, most importantly, the fact that you lose all your stuff if you...