Minato Namikaze, also known as the Fourth Hokage, was one of the strongest and most skilled ninja in the Naruto universe. He was known for his incredible speed and his mastery of the Flying Raijin jutsu, which allowed him to teleport himself and others across vast distances in an instant. The question of who taught Minato the Flying Raijin jutsu is an interesting one, and it involves a bit of history and mythology from the Naruto world.

The Flying Raijin jutsu is said to have been created by the Second Hokage, Tobirama Senju, who was known for his mastery of space-time jutsu. Tobirama was a member of the powerful Senju clan, which was one of the two founding clans of the Hidden Leaf Village. He was also the younger brother of the First Hokage, Hashirama Senju, who was the co-founder of the village.
Tobirama was a brilliant ninja who made many contributions to the village during his time as Hokage. He was responsible for creating many of the village’s most important institutions, including the ninja academy and the ANBU black ops. He was also known for his prowess in battle, and he developed several powerful jutsu during his lifetime.
One of Tobirama’s most famous jutsu was the Flying Raijin jutsu. This jutsu allowed him to teleport himself and others across great distances in an instant, using a special seal that he placed on the ground. The technique was incredibly powerful and versatile, and it became one of Tobirama’s signature moves.
It is believed that Tobirama passed the Flying Raijin jutsu down to his successor as Hokage, Hiruzen Sarutobi. Hiruzen was a student of Tobirama’s and a member of the powerful Sarutobi clan, which had a long history of serving as the Hokage’s advisors. Hiruzen was a highly skilled ninja in his own right, and he continued to develop the Flying Raijin jutsu during his time as Hokage.
It is likely that Hiruzen taught the Flying Raijin jutsu to his own students, including Minato Namikaze. Minato was one of Hiruzen’s most talented students, and he quickly gained a reputation as a prodigy. He was known for his incredible speed and his ability to think on his feet, and he quickly rose through the ranks of the Hidden Leaf Village.
As Minato grew in skill and experience, he began to develop his own version of the Flying Raijin jutsu. He adapted the technique to suit his own unique style of fighting, and he became known as one of the few ninja who could use the jutsu to its full potential.
In conclusion, while Tobirama Senju is credited with creating the Flying Raijin jutsu, it is likely that Minato Namikaze learned the technique from his own mentor, Hiruzen Sarutobi. Hiruzen was a student of Tobirama’s and a highly skilled ninja in his own right, and he likely passed the jutsu down to his own students, including Minato. Minato then adapted the technique to suit his own style of fighting, and he became known as one of the most skilled users of the Flying Raijin jutsu in the Naruto universe.