The ninja you are referring to is Minato Namikaze, also known as the Fourth Hokage of the Hidden Leaf Village. He is the leader of the Legendary Trio, along with Jiraiya and Tsunade, and is known for his time-based jutsu called the Flying Thunder God Technique.