The Infinite Tsukuyomi does not affect Hashirama, Tobirama, Hiruzen and Minato because they are reanimated. Hagoromo, the Sage of the Six Paths, appears and explains to the four that Hashirama and Madara are the reincarnations of his sons Ashura and Indra. Hagoromo recounts the tale of how he founded Ninshu, the Ninja Creed, and about the lives of Ashura and Indra.
My name is Hagoromo…
...اسمي هاغورومو
Ich bin Hagoromo,
der Gründer des Nishu.
Me llamo Hagoromo,
el inventor del ninshu…
Me llamo Hagoromo,
soy el inventor del ninshu…
Il mio nome è Hagoromo.
Meu nome é Hagoromo...